Compare commits
2 Commits
3650d027a4
...
ea969e01b8
Author | SHA1 | Date |
---|---|---|
ayham | ea969e01b8 | |
ayham | 653ea4c025 |
|
@ -1,19 +1,20 @@
|
|||
#!/bin/sh
|
||||
|
||||
xhost +si:localuser:"$USER" &
|
||||
|
||||
source ~/.config/env &
|
||||
|
||||
/usr/bin/pipewire & /usr/bin/pipewire-pulse & /usr/bin/wireplumber &
|
||||
|
||||
xset s 300 5 &
|
||||
xss-lock -n /usr/lib/xsecurelock/dimmer -l -- xsecurelock &
|
||||
keynav &
|
||||
exec keynav &
|
||||
light -S 100 &
|
||||
xset r rate 300 50 &
|
||||
umask 002 &
|
||||
keychain --absolute --dir "$XDG_RUNTIME_DIR"/keychain --eval --quiet id_ed25519
|
||||
keychain --absolute --dir "$XDG_RUNTIME_DIR"/keychain --eval --quiet id_ed25519 &
|
||||
unclutter --timeout 2 --start-hidden &
|
||||
xsetroot -xcf /usr/share/icons/WhiteSur-cursors/cursors/left_ptr 24 &
|
||||
xmodmap ~/.config/Xmodmap &
|
||||
toggle_touchpad &
|
||||
xhost +si:localuser:"$USER" &
|
||||
mpd &
|
||||
|
|
|
@ -1 +1 @@
|
|||
738251
|
||||
738282
|
|
@ -61,6 +61,8 @@ export XMONAD_DATA_HOME="$XDG_DATA_HOME"/xmonad
|
|||
export XMONAD_CACHE_HOME="$XDG_CACHE_HOME"/xmonad
|
||||
export ZDOTDIR="$XDG_CONFIG_HOME"/zsh
|
||||
export ASPELL_CONF="per-conf $XDG_CONFIG_HOME/aspell/aspell.conf; personal $XDG_CONFIG_HOME/aspell/en.pws; repl $XDG_CONFIG_HOME/aspell/en.prepl"
|
||||
export MBSYNCRC="$XDG_CONFIG_HOME"/isync/mbsyncrc
|
||||
export VSCODE_PORTABLE="$XDG_DATA_HOME"/vscode
|
||||
|
||||
# ~/ alias clean-ups
|
||||
alias wget="wget --hsts-file=\"$XDG_CACHE_HOME/wget-hsts\""
|
||||
|
|
|
@ -3,9 +3,9 @@
|
|||
|
||||
include "/home/ayham/.gtkrc-2.0.mine"
|
||||
gtk-theme-name="oomox-xresources-reverse"
|
||||
gtk-icon-theme-name="Adwaita"
|
||||
gtk-icon-theme-name="mate"
|
||||
gtk-font-name="Sans 10"
|
||||
gtk-cursor-theme-name="Adwaita"
|
||||
gtk-cursor-theme-name="WhiteSur-cursors"
|
||||
gtk-cursor-theme-size=0
|
||||
gtk-toolbar-style=GTK_TOOLBAR_TEXT
|
||||
gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[Settings]
|
||||
gtk-theme-name=oomox-xresources-reverse
|
||||
gtk-icon-theme-name=Adwaita
|
||||
gtk-icon-theme-name=mate
|
||||
gtk-font-name=Sans 10
|
||||
gtk-cursor-theme-size=0
|
||||
gtk-toolbar-style=GTK_TOOLBAR_TEXT
|
||||
|
@ -13,4 +13,4 @@ gtk-xft-antialias=1
|
|||
gtk-xft-hinting=1
|
||||
gtk-xft-hintstyle=hintfull
|
||||
gtk-xft-rgba=rgb
|
||||
gtk-cursor-theme-name=Adwaita
|
||||
gtk-cursor-theme-name=WhiteSur-cursors
|
||||
|
|
|
@ -40,6 +40,7 @@ http://feeds.feedburner.com/sciencealert-latestnews?format=xml sciencealert
|
|||
https://www.aliventures.com/feed/ aliventures writing blog
|
||||
https://unlimitedhangout.com/feed/ unlimited-hangout investigative reports
|
||||
http://feeds.feedburner.com/MrMoneyMustache?format=xml mrmoneymustache
|
||||
https://100r.co/links/rss.xml hundred-rabbits
|
||||
|
||||
"-----------------"
|
||||
"---- Podcasts"
|
||||
|
@ -106,6 +107,7 @@ https://www.youtube.com/feeds/videos.xml?channel_id=UCswH8ovgUp5Bdg-0_JTYFNw rus
|
|||
https://www.youtube.com/feeds/videos.xml?channel_id=UCFKDEp9si4RmHFWJW1vYsMA ethos-lab
|
||||
https://www.youtube.com/feeds/videos.xml?channel_id=UCj5i58mCkAREDqFWlhaQbOw stampylonghead
|
||||
https://www.youtube.com/feeds/videos.xml?channel_id=UCvsdQrg8SkOvS2WiVXA5S4A ph1lza
|
||||
https://www.youtube.com/feeds/videos.xml?channel_id=UC4O9HKe9Jt5yAhKuNv3LXpQ docm77
|
||||
|
||||
"-----------------"
|
||||
"---- Youtube-Food"
|
||||
|
@ -139,7 +141,6 @@ https://www.youtube.com/feeds/videos.xml?channel_id=UCrI3dm4qgAEV67Jc6797WIA ran
|
|||
"---- Youtube-fAnNy-sTocK"
|
||||
"-----------------"
|
||||
https://www.youtube.com/feeds/videos.xml?channel_id=UCd6vEDS3SOhWbXZrxbrf_bw samtime
|
||||
https://www.youtube.com/feeds/videos.xml?channel_id=UClgVmK6jZTZKAIlEhK1KRVQ sixteenleo
|
||||
https://www.youtube.com/feeds/videos.xml?channel_id=UCcoDpbA4c9HQY0AjKHSlKLg cer-spence
|
||||
https://www.youtube.com/feeds/videos.xml?channel_id=UCBNG0osIBAprVcZZ3ic84vw jim-browning
|
||||
https://www.youtube.com/feeds/videos.xml?channel_id=UCHyIvHeTyU2ALxwX4vm_Y4w ryan-the-leader
|
||||
|
@ -166,4 +167,4 @@ https://www.youtube.com/feeds/videos.xml?channel_id=UClcE-kVhqyiHCcjYwcpfj9w liv
|
|||
"-----------------"
|
||||
"---- CHAD Ayham"
|
||||
"-----------------"
|
||||
http://blog.ayham.xyz/rss.xml
|
||||
https://ayham.xyz/index.xml
|
||||
|
|
|
@ -45,6 +45,9 @@ Plug 'lervag/vimtex'
|
|||
" debugging
|
||||
Plug 'puremourning/vimspector'
|
||||
|
||||
" ziglang
|
||||
Plug 'ziglang/zig.vim'
|
||||
|
||||
call plug#end()
|
||||
|
||||
" Debugger Remaps
|
||||
|
@ -84,6 +87,8 @@ set wildchar=<TAB>
|
|||
set nosmd
|
||||
set hidden
|
||||
set nomodeline
|
||||
setlocal spell spelllang=en_us
|
||||
|
||||
|
||||
" vimtex
|
||||
let g:vimtex_view_method="zathura"
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
#################################
|
||||
# requires https://github.com/jonaburg/picom
|
||||
# (These are also the default values)
|
||||
transition-length = 1
|
||||
transition-length = 150
|
||||
transition-pow-x = 0.1
|
||||
transition-pow-y = 0.1
|
||||
transition-pow-w = 0.1
|
||||
|
@ -15,7 +15,7 @@ size-transition = true
|
|||
# Corners #
|
||||
#################################
|
||||
# requires: https://github.com/sdhand/compton or https://github.com/jonaburg/picom
|
||||
corner-radius = 0.0;
|
||||
corner-radius = 10.0;
|
||||
rounded-corners-exclude = [
|
||||
#"window_type = 'normal'",
|
||||
"class_g = 'dwm'",
|
||||
|
@ -214,7 +214,7 @@ opacity-rule = [
|
|||
"100:class_g = 'XTerm'",
|
||||
"100:class_g = 'URxvt'",
|
||||
"100:class_g = 'kitty'",
|
||||
#"100:class_g = 'Alacritty'",
|
||||
"100:class_g = 'Alacritty'",
|
||||
"80:class_g = 'Polybar'",
|
||||
"100:class_g = 'code-oss'",
|
||||
"100:class_g = 'Meld'",
|
||||
|
@ -233,7 +233,7 @@ opacity-rule = [
|
|||
|
||||
# Parameters for background blurring, see the *BLUR* section for more information.
|
||||
# blur-method =
|
||||
# blur-size = 12
|
||||
blur-size = 82
|
||||
#
|
||||
# blur-deviation = false
|
||||
|
||||
|
@ -241,7 +241,7 @@ opacity-rule = [
|
|||
# Bad in performance, with driver-dependent behavior.
|
||||
# The name of the switch may change without prior notifications.
|
||||
#
|
||||
# blur-background = true;
|
||||
blur-background = true;
|
||||
|
||||
# Blur background of windows when the window frame is not opaque.
|
||||
# Implies:
|
||||
|
@ -252,7 +252,7 @@ opacity-rule = [
|
|||
|
||||
|
||||
# Use fixed blur strength rather than adjusting according to window opacity.
|
||||
# blur-background-fixed = false;
|
||||
blur-background-fixed = true;
|
||||
|
||||
|
||||
# Specify the blur convolution kernel, with the following format:
|
||||
|
@ -266,7 +266,7 @@ blur: {
|
|||
# requires: https://github.com/ibhagwan/picom
|
||||
method = "kawase";
|
||||
#method = "kernel";
|
||||
strength = 1;
|
||||
strength = 5;
|
||||
# deviation = 1.0;
|
||||
# kernel = "11x11gaussian";
|
||||
background = true;
|
||||
|
@ -509,8 +509,8 @@ log-level = "info";
|
|||
#
|
||||
wintypes:
|
||||
{
|
||||
normal = { fade = false; shadow = false; }
|
||||
tooltip = { fade = true; shadow = true; opacity = 0.75; focus = true; full-shadow = false; };
|
||||
normal = { fade = true; shadow = false; }
|
||||
tooltip = { fade = true; shadow = true; opacity = 0.85; focus = true; full-shadow = false; };
|
||||
dock = { shadow = false; }
|
||||
dnd = { shadow = false; }
|
||||
popup_menu = { opacity = 0.8; }
|
||||
|
|
|
@ -4,3 +4,4 @@
|
|||
.config/emacs
|
||||
!.config/emacs/config.org
|
||||
!.config/emacs/init.el
|
||||
.local/bin/__pycache__/
|
||||
|
|
|
@ -0,0 +1,58 @@
|
|||
#! /bin/bash
|
||||
|
||||
for file in {$PWD,$HOME}/.tmuxify.layout; do
|
||||
test -f $file && layout=$file && break
|
||||
done
|
||||
|
||||
if [[ ! -f $layout ]]; then
|
||||
echo "Aborting. No $PWD/.tmuxify.layout nor $HOME/.tmuxify.layout found."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
session=${1:-$(basename $PWD | tr . -)}
|
||||
|
||||
if [[ -z $(tmux ls -F "#{session_name}" 2>/dev/null | grep "^$session$") ]]; then
|
||||
tmux $TMUX_OPTS new-session -s $session -d
|
||||
else
|
||||
tmux $TMUX_OPTS attach -t $session
|
||||
exit 0
|
||||
fi
|
||||
|
||||
while read window pane command; do
|
||||
|
||||
[ -z "$window" -o -z "$pane" -o -z "$command" ] && continue
|
||||
|
||||
pane_number=${pane//[^0-9]*}
|
||||
active=${pane//[^*]}
|
||||
|
||||
if [[ -n $active ]]; then
|
||||
active_window=$window
|
||||
active_pane=$pane_number
|
||||
fi
|
||||
|
||||
if [[ -z $(tmux list-windows -t $session -F "#{window_name}" | grep "^${window}$") ]]; then
|
||||
tmux new-window -a -t $session -n $window -c $PWD
|
||||
fi
|
||||
|
||||
if [[ -z $(tmux list-panes -t $session:$window -F "#{pane_index}" | grep "^${pane_number}$") ]]; then
|
||||
tmux split-window -t $session:$window
|
||||
fi
|
||||
|
||||
tmux select-layout -t $session:$window tiled > /dev/null
|
||||
|
||||
tmux send-keys -t $session:$window.$pane_number "$command" C-m
|
||||
done < $layout
|
||||
|
||||
# The first window is never used. The specified window names in the layout create new windows.
|
||||
# Closing the first window will not renumber the existing ones. To fix that, add the following option in ~/.tmux.conf
|
||||
#
|
||||
# set-option -g renumber-windows on
|
||||
#
|
||||
|
||||
tmux kill-window -t $session:$( tmux list-windows -t $session -F "#{window_index}" | head -n 1 )
|
||||
|
||||
tmux select-window -t $session:$active_window
|
||||
|
||||
tmux select-pane -t $session:$active_window.$active_pane
|
||||
|
||||
tmux $TMUX_OPTS attach-session -t $session
|
|
@ -0,0 +1,8 @@
|
|||
#!/usr/bin/python3
|
||||
# -*- coding: utf-8 -*-
|
||||
import re
|
||||
import sys
|
||||
from twine.__main__ import main
|
||||
if __name__ == '__main__':
|
||||
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
|
||||
sys.exit(main())
|
|
@ -0,0 +1,4 @@
|
|||
#!/bin/sh
|
||||
|
||||
xsetwacom set 11 MapToOutput 1366x768+0+0
|
||||
xsetwacom set 11 Area 0 21600 12144
|
Loading…
Reference in New Issue