1
0

working on configs and stuffz

This commit is contained in:
dtb 2023-09-08 08:12:19 -04:00
parent e5930d861d
commit 213bd80594
10 changed files with 113 additions and 80 deletions

View File

@ -1,64 +0,0 @@
# thanks patrickbolle, weedsmokingjew
XF86AudioMicMute
pactl set-source-mute @DEFAULT_SOURCE@ toggle
XF86AudioMute
volume m
XF86Audio{Lower,Raise}Volume
volume r {-5,5}
XF86Audio{Play,Pause,Next,Prev}
playerctl {play,pause,next,previous}
XF86Launch1
$TERMINAL
control + shift + Escape
$TERMINAL -e htop
Print
scrot
mod1 + {_,shift +}F4
bspc node -{c,k} || i3-msg kill
mod1 + {_,shift +}q
bspc node -{c,k} || i3-msg kill
mod1 + {_,shift +}{1-4}
bspc {desktop -f,node -d} '^{1-4}'
mod1 + equal
light -A 5
mod1 + shift + equal
light -A 1
mod1 + minus
light -U 5
mod1 + shift + minus
light -U 1
mod1 + shift + e
if [ "Yes." = $(printf "No.\nYes." | dmenu -fn unscii -nb '#000' -nf '#FFDBDB' -p '$' -sb '#FFDBDB' -sf '#000' -p "You pressed the exit shortcut. Do you really want to exit? This will end your X session.") ]; \
then bspc quit || i3-msg exit || pkill X; fi
mod1 + shift + r
bspc wm -r; pkill -USR1 -x sxhkd
mod1 + d
dmenu_run -fn unscii -nb '#000' -nf '#FFDBDB' -p '$' -sb '#FFDBDB' -sf '#000'
mod1 + f
bspc node -t '~fullscreen' || i3-msg fullscreen toggle
mod1 + {h,j,k,l}
bspc node -f {west,south,north,east} || i3-msg focus {left,down,up,right}
mod1 + shift + {h,j,k,l}
bspc node -s {west,south,north,east} || i3-msg move {left,down,up,right}
mod1 + Return
$TERMINAL
mod1 + v
$TERMINAL -e aiomixer
mod1 + b
$BROWSER
mod1 + m
volume m

View File

@ -1,8 +0,0 @@
auto_refresh_feeds: -1
cap: 200
consumption_file_name: /home/trinity/.ytfeed/consumption.txt
feed_directory: /home/trinity/.ytfeed/feeds/
xml_storage_directory: /home/trinity/.ytfeed/feeds/
video_downloader: youtube-dlp
viewer: youtube-dl-mpv
web_browser: firefox-developer-edition

View File

@ -6,6 +6,7 @@ all: $(TARGETS)
TARGETS = \ TARGETS = \
$(HOME)/.aliases \ $(HOME)/.aliases \
$(HOME)/.config/bspwm/bspwmrc \
$(HOME)/.config/sxhkd/sxhkdrc \ $(HOME)/.config/sxhkd/sxhkdrc \
$(HOME)/.config/sxmo/profile \ $(HOME)/.config/sxmo/profile \
$(HOME)/.ctwmrc \ $(HOME)/.ctwmrc \
@ -21,6 +22,18 @@ TARGETS = \
$(HOME)/.aliases: sh/aliases $(HOME)/.aliases: sh/aliases
cp sh/aliases $(HOME)/.aliases cp sh/aliases $(HOME)/.aliases
$(HOME)/.config/bspwm/bspwmrc: bspwm/bspwmrc
mkdir -p $(HOME)/.config/bspwm/
cp bspwm/bspwmrc $(HOME)/.config/bspwm/bspwmrc
$(HOME)/.config/i3/config: i3/config
mkdir -p $(HOME)/.config/i3/
cp i3/config $(HOME)/.config/i3/config
$(HOME)/.config/i3status/config: i3status/config
mkdir -p $(HOME)/.config/i3status/
cp i3status/config $(HOME)/.config/i3status/config
$(HOME)/.config/sxhkd/sxhkdrc: sxhkd/sxhkdrc $(HOME)/.config/sxhkd/sxhkdrc: sxhkd/sxhkdrc
mkdir -p $(HOME)/.config/sxhkd/ mkdir -p $(HOME)/.config/sxhkd/
cp sxhkd/sxhkdrc $(HOME)/.config/sxhkd/sxhkdrc cp sxhkd/sxhkdrc $(HOME)/.config/sxhkd/sxhkdrc

View File

@ -4,12 +4,8 @@ bspc config focus_follows_pointer true
bspc config focused_border_color '#FFFFFF' bspc config focused_border_color '#FFFFFF'
bspc config normal_border_color '#FFDBDB' bspc config normal_border_color '#FFDBDB'
bspc config window_gap 0 bspc config window_gap 0
bspc monitor LVDS1 -d 1 2 3 4 bspc monitor HDMI-1 -d 1 2 3 4
xrandr | grep ' connected ' | awk '{print $1}' | grep VGA >/dev/null 2>&1 \
&& bspc monitor VGA1 -d 5 6 7 8 \
|| true
bspc rule -a XClock manage=off # thanks emanuele6 bspc rule -a XClock manage=off # thanks emanuele6
bspc rule -a xload manage=off bspc rule -a xload manage=off
xdo lower -NXClock xdo lower -NXClock
xdo lower -Nxload xdo lower -Nxload
data | lemonbar -bf '-*-unscii-*-*-*-*-*-*-*-*-*-*-*-*' -F '#FFDBDB'

View File

@ -8,10 +8,15 @@ alias b="$BROWSER"
alias cls="clear" alias cls="clear"
alias cp="cp -iv" alias cp="cp -iv"
alias doas="$SUDO" alias doas="$SUDO"
alias dots="\
cp -f ~/src/trinitystuff/sxhkd/sxhkdrc ~/.config/sxhkd/sxhkdrc && \
pkill -USR1 -x sxhkd && \
cp -f ~/src/trinitystuff/bspwm/bspwmrc ~/.config/bspwm/bspwmrc"
alias e="$EDITOR" alias e="$EDITOR"
alias ipconfig="ifconfig" alias ipconfig="ifconfig"
#alias ls="9 ls" #alias ls="9 ls"
alias ls="ls -1A" #alias ls="ls -1A"
alias ls="lsd -1A --icon-theme unicode --long"
alias mpv="LIBGL_ALWAYS_SOFTWARE=1 mpv --vo=x11" alias mpv="LIBGL_ALWAYS_SOFTWARE=1 mpv --vo=x11"
alias mullvad="curl https://am.i.mullvad.net/connected" alias mullvad="curl https://am.i.mullvad.net/connected"
alias mv="mv -iv" alias mv="mv -iv"

View File

@ -16,10 +16,11 @@ PATH="\
/usr/pkg/qt5/bin:\ /usr/pkg/qt5/bin:\
/usr/X11R7/bin:\ /usr/X11R7/bin:\
$HOME/bin/:\ $HOME/bin/:\
$HOME/src/dist:\
$PLAN9/bin:\ $PLAN9/bin:\
$PATH"; export PATH $PATH"; export PATH
PAGER="less"; export PAGER PAGER="less"; export PAGER
TERMINAL=uxterm; export TERMINAL TERMINAL=urxvt; export TERMINAL
UNITS_SYSTEM=si; export UNITS_SYSTEM UNITS_SYSTEM=si; export UNITS_SYSTEM
VISUAL=vi; export VISUAL VISUAL=vi; export VISUAL
WALLPAPER="$HOME/Pictures/Wallpapers/ghibli_wars.jpg"; export WALLPAPER WALLPAPER="$HOME/Pictures/Wallpapers/ghibli_wars.jpg"; export WALLPAPER

91
trinitystuff/sxhkd/sxhkdrc Normal file → Executable file
View File

@ -1,3 +1,92 @@
super + t: # thanks patrickbolle, weedsmokingjew
XF86AudioMicMute
pactl set-source-mute @DEFAULT_SOURCE@ toggle
XF86AudioMute
volume m
XF86Audio{Lower,Raise}Volume
volume r {-5,5}
XF86Audio{Play,Pause,Next,Prev}
playerctl {play,pause,next,previous}
XF86Launch1
$TERMINAL
control + shift + Escape
$TERMINAL -e htop
Print
scrot
mod1 + {_,shift +}F4
bspc node -{c,k} || i3-msg kill
mod1 + {_,shift +}q
bspc node -{c,k} || i3-msg kill
mod1 + {_,shift +}{1-4}
bspc {desktop -f,node -d} '^{1-4}'
alt + {_,shift +}{1-4}
bspc {desktop -f,node -d} '^{1-4}' --follow
mod1 + equal
light -A 5
mod1 + shift + equal
light -A 1
mod1 + minus
light -U 5
mod1 + shift + minus
light -U 1
super + shift + q
bspc quit
mod1 + shift + e
if [ "Yes." = $(printf "No.\nYes." | dmenu -fn unscii -nb '#000' -nf '#FFDBDB' -p '$' -sb '#FFDBDB' -sf '#000' -p "You pressed the exit shortcut. Do you really want to exit? This will end your X session.") ]; \
then bspc quit || i3-msg exit || pkill X; fi
mod1 + shift + r
bspc wm -r; pkill -USR1 -x sxhkd
super + shift + r
bspc wm -r
alt + t
urxvt urxvt
alt + d
rofi -show drun
mod1 + d
dmenu_run -fn unscii -nb '#000' -nf '#FFDBDB' -p '$' -sb '#FFDBDB' -sf '#000'
mod1 + f
bspc node -t '~fullscreen' || i3-msg fullscreen toggle
mod1 + {h,j,k,l}
bspc node -f {west,south,north,east} || i3-msg focus {left,down,up,right}
alt + {_,shift +}{h,j,k,l}
bspc node -{f,s} {west,south,north,east}
mod1 + shift + {h,j,k,l}
bspc node -s {west,south,north,east} || i3-msg move {left,down,up,right}
super + shift + k
pkill -USR1 -x sxhkd
mod1 + Return
$TERMINAL
alt + Return
uxrvt
super + Return
urxvt
mod1 + v
$TERMINAL -e aiomixer
mod1 + b
$BROWSER
mod1 + m
volume m
alt +{_,shift +} F4
bspc node -{c,k}

View File

@ -1,2 +1,3 @@
xrdb -load .Xresources
sxhkd & sxhkd &
exec bspwm exec bspwm