dotties

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit c39d842c4c54067649ef8c3fd9d42d9574ac8d50
parent c62a455fa594ffc2767c1e5ef0cada87d5ce7237
Author: Rikard Karlsen <rk@cassettian.space>
Date:   Mon, 28 Dec 2020 15:26:06 +0100

Merge sxhkdrc files

Diffstat:
M.config/X11/xinitrc | 2+-
M.config/sxhkd/sxhkdrc | 52+++++++++++++++++++++++-----------------------------
D.config/sxhkd/sxhkdrc_universal | 116-------------------------------------------------------------------------------
3 files changed, 24 insertions(+), 146 deletions(-)

diff --git a/.config/X11/xinitrc b/.config/X11/xinitrc @@ -3,7 +3,7 @@ #exec gnome-session if [[ "$WM" != "bspwm" ]]; then - sxhkd -c ~/.config/sxhkd/sxhkdrc_universal & + sxhkd -c ~/.config/sxhkd/sxhkdrc & fi [ "$WM" = "dwm" ] && dwmbloxx & diff --git a/.config/sxhkd/sxhkdrc b/.config/sxhkd/sxhkdrc @@ -10,23 +10,23 @@ super + Tab super + space xkbutil toggle && lemonblocks-reload keymap -# focus the node in the given direction -super + {_,shift +} {Left,Down,Up,Right} - bspc node -{f,s} {west,south,north,east} +# bspwm focus the node in the given direction +#super + {_,shift +} {Left,Down,Up,Right} +# bspc node -{f,s} {west,south,north,east} -super + control + {Left,Right} - bspc desktop -f {prev,next}.local && lemonblocks-reload desktops +#super + control + {Left,Right} +# bspc desktop -f {prev,next}.local && lemonblocks-reload desktops -super + {_,shift +} {1-9,0} - bspc {desktop -f,node -d} '^{1-9,10}' && \ - lemonblocks-reload desktops +#super + {_,shift +} {1-9,0} +# bspc {desktop -f,node -d} '^{1-9,10}' && \ +# lemonblocks-reload desktops -# expand a window by moving one of its side outward -super + alt + Right - bspc node -z right 20 0 +# bspwm expand a window by moving one of its side outward +#super + alt + Right +# bspc node -z right 20 0 -super + alt + Left - bspc node -z right -20 0 +#super + alt + Left +# bspc node -z right -20 0 # PageUp og PageDown super + {_,shift +} {Next,Prior} @@ -36,15 +36,14 @@ super + {Home,End} amixer sset Master {100,50}% && lemonblocks-reload volume # Bokstavkombinasjonssnarveier -super + q - bspc node -c; +#super + q +# bspc node -c; super + w - dugrep mkv,mp4,avi vlc - #bookmarksurfing + dugrep mkv,mp4,avi mpv super + e - thunar + $TERMINAL -e ranger super + r gnumeric "$HOME/git/regneskap/regneskap-2020.ods" @@ -59,8 +58,8 @@ super + {_,shift +} y mpv "$(xclip -out)" #youtube-dl "$(xclip -out)" -o - | vlc - {_,--sout "#chromecast" --sout-chromecast-ip="192.168.10.178"} -#super + shift + y -# surf "https://www.yr.no/stad/Noreg/Vestfold_og_Telemark/Larvik/Larvik/time_for_time.html" +# super + shift + y +# surf "https://www.yr.no/stad/Noreg/Vestfold_og_Telemark/Larvik/Larvik/time_for_time.html" super + p thunderbird @@ -76,12 +75,7 @@ super + a super + s echo "rk@cassettian.space\nriq@192.168.1.4" | rofi -dmenu | xargs urxvt -e ssh - # openstream -#super + f -# [ "$WM" = "i3" ] && i3-msg fullscreen toggle - -# Swap the current node and the biggest node super + g gnome-calculator @@ -100,14 +94,14 @@ super + shift + x super + c _file="$(du -a $XDG_CONFIG_HOME | cut -f2 | rofi -dmenu -p "")" && [ "$_file" != "" ] && code "$_file" -super + v - wiktionaire +super + {_,shift +} v + wiktionaire {_,uib} super + n dugrep pdf zathura super + shift + n - dugrep groff code && sleep 1s && lemonblocks-reload volume + dugrep groff code super + {_,shift +} m amixer sset Master {toggle,mute} && lemonblocks-reload volume @@ -128,7 +122,7 @@ XF86AudioMute amixer sset Master toggle && lemonblocks-reload volume XF86Audio{Lower,Raise}Volume - amixer sset Master {10,20}%{-,+} && lemonblocks-reload volume + amixer sset Master 5%{-,+} && lemonblocks-reload volume XF86AudioNext cmus-remote --next diff --git a/.config/sxhkd/sxhkdrc_universal b/.config/sxhkd/sxhkdrc_universal @@ -1,116 +0,0 @@ -#!/bin/sh - -# Generelle -super + Return - $TERMINAL - -super + Tab - rofi -show run -theme sidetab - -super + space - xkbutil toggle && lemonblocks-reload keymap - -# PageUp og PageDown -super + {_,shift +} {Next,Prior} - amixer sset Master {10,20}%{-,+} && lemonblocks-reload volume - -super + {Home,End} - amixer sset Master {100,50}% && lemonblocks-reload volume - -super + w - dugrep mkv,mp4,avi mpv - -super + e - $TERMINAL -e ranger - -super + r - gnumeric "$HOME/git/regneskap/regneskap-2020.ods" - -super + control + r - $HOME/.local/bin/reloadwm - -super + y - mpv "$(xclip -out)" - #youtube-dl "$(xclip -out)" -o - | vlc - {_,--sout "#chromecast" --sout-chromecast-ip="192.168.10.178"} - -super + shift + y - surf "https://www.yr.no/stad/Noreg/Vestfold_og_Telemark/Larvik/Larvik/time_for_time.html" - -super + p - thunderbird - -super + shift + i - $TERMINAL -e htop - -super + o - wiktionaire uib - -super + a - $TERMINAL -e pulsemixer - -super + s - urxvt -e ssh riq@192.168.10.173 - -# Swap the current node and the biggest node -super + g - gnome-calculator - -super + h - surf "https://www.hurtigruten.no/kart/?shipCode=MS" - -super + l - i3lock -ei "$XDG_CONFIG_HOME/lock-img.png" -p win - -#super + x -# [ "$(echo -e 'Nei\nJa' | rofi -dmenu -p 'Vil du logge av?' -lines 2)" = "Ja" ] && bspc quit - -super + shift + x - [ "$(echo -e 'Nei\nJa' | rofi -dmenu -p 'Vil du slÄ av PC-en?' -lines 2)" = "Ja" ] && $TERMINAL -e "sudo shutdown -h now" - -super + c - _file="$(du -a $XDG_CONFIG_HOME | cut -f2 | rofi -dmenu -p "")" && [ "$_file" != "" ] && code "$_file" - -super + v - wiktionaire - -super + n - dugrep pdf zathura - -super + shift + n - dugrep groff code && sleep 1s && lemonblocks-reload volume - -super + {_,shift +} m - amixer sset Master {toggle,mute} && lemonblocks-reload volume - -# Screenshots and recording -{_,shift +} Print - cd $HOME/Bilder/skjermdumper && scrot -z{_,u} && cd - -super + {_,shift +} Print - dmenurecord {_,kill} - -#F keys -super + {_,shift +} F5 - $HOME/.local/bin/wifi-select {_,-n} - -# XF86 Keys -XF86AudioMute - amixer sset Master toggle && lemonblocks-reload volume - -XF86Audio{Lower,Raise}Volume - amixer sset Master {10,20}%{-,+} && lemonblocks-reload volume - -XF86AudioNext - cmus-remote --next - -XF86AudioPlay - cmus-remote --pause - -XF86AudioPrev - cmus-remote --prev - -XF86AudioStop - cmus-remote --stop - -XF86Sleep - lockscreen