From d627e1ecabbb1031e5ee1c8c6e3ab0b2aba2a066 Mon Sep 17 00:00:00 2001 From: Gregor Feierabend <23300469@sun.ac.za> Date: Tue, 13 Jul 2021 13:04:45 +0200 Subject: [PATCH] config update --- .config/cmus/autosave | 2 +- .config/i3/config | 24 ++---------------------- .xinitrc | 1 + 3 files changed, 4 insertions(+), 23 deletions(-) diff --git a/.config/cmus/autosave b/.config/cmus/autosave index dbe5537..74ca091 100644 --- a/.config/cmus/autosave +++ b/.config/cmus/autosave @@ -92,7 +92,7 @@ set mpris=false set output_plugin=pulse set passwd= set pl_sort= -set play_library=false +set play_library=true set play_sorted=false set repeat=true set repeat_current=false diff --git a/.config/i3/config b/.config/i3/config index 758a413..85a809a 100644 --- a/.config/i3/config +++ b/.config/i3/config @@ -143,13 +143,7 @@ bindsym $mod+Shift+9 move container to workspace number $ws9 bindsym $mod+Shift+0 move container to workspace number $ws10 # reload the configuration file -# EDIT: -#bindsym $mod+Shift+c reload -# restart i3 inplace (preserves your layout/session, can be used to upgrade i3) -#bindsym $mod+Shift+r restart bindsym $mod+Shift+r exec ~/.config/i3/scripts/i3restart.sh -#bindsym $mod+Shift+b exec --no-startup-id killall xbattbar && /usr/bin/xbattbar -a -c -t 2 -I "#333333" -O white -i white -o "#333333" -# exit i3 (logs you out of your X session) bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -B 'Yes, exit i3' 'i3-msg exit'" # resize window (you can also use the mouse for that) @@ -203,35 +197,27 @@ bar { #client.unfocused #073642 #073642 #93a1a1 #586e75 #client.urgent #d33682 #d33682 #fdf6e3 #dc322f - focus_follows_mouse no + +# some personal keybindings bindsym $mod+m floating enable; resize set 1400 850; move absolute position center; move scratchpad bindsym $mod+n scratchpad show bindsym $mod+Shift+x exec ~/.scripts/lock.sh bindsym $mod+z [class="Zathura"] scratchpad show bindsym $mod+u [class="URxvt"] scratchpad show bindsym $mod+c [title="Android Emulator*"] scratchpad show -#bindsym $mod+Shift+w exec zsh ~/.config/i3/scripts/emulator.sh -#bindsym $mod+Shift+m exec zsh ~/.config/i3/scripts/emulator_snap.sh -#bindsym $mod+t exec transset -n `xdotool getwindowfocus getwindowname` --dec 0.2 -#bindsym $mod+Shift+t exec transset -n `xdotool getwindowfocus getwindowname` --inc 0.2 bindsym $mod+t exec zsh ~/.config/i3/scripts/incop.sh bindsym $mod+Shift+t exec zsh ~/.config/i3/scripts/decop.sh -bindsym $mod+y exec sleep 1 && transset 0.6 -bindsym $mod+Shift+y exec sleep 1 && transset 1 bindsym $mod+o exec zsh ~/.config/i3/scripts/screenshot.sh bindsym $mod+x move absolute position center -bindsym $mod+i exec xrandr-invert-colors bindsym $mod+p exec pqiv -c -c -i ~/ANNOTATIONS bindsym $mod+b exec zsh ~/.config/i3/scripts/screencut.sh -bindsym $mod+Shift+w exec ~/.scripts/adbreconnect.sh bindsym $mod+Shift+f exec firefox -P Work -no-remote for_window [class="URxvt" floating] resize set 1400 850 for_window [class="URxvt"] move absolute position center for_window [class="Pqiv"] floating enable for_window [class="Dclock"] floating enable -#for_window [title="^Skype$"] floating enable for_window [title="Typora$"] fullscreen disable for_window [title="^Emulator$"] move scratchpad for_window [title="Android Emulator - thePhone:5554"] resize set 375 667 @@ -246,12 +232,6 @@ default_border pixel 4 default_floating_border pixel 1 hide_edge_borders both - -#exec --no-startup-id xcompmgr -c -n exec --no-startup-id compton exec --no-startup-id pasystray exec --no-startup-id /usr/bin/xbattbar -a -c -t 2 -I "#333333" -O white -i white -o "#333333" -#exec --no-startup-id unclutter -idle 5 -jitter 20 -#exec --no-startup-id xrdb ~/.Xresources -#exec --no-startup-id redshift -l -18:33 -#exec --no-startup-id fbsetroot -solid black diff --git a/.xinitrc b/.xinitrc index 9e517d9..a046a32 100755 --- a/.xinitrc +++ b/.xinitrc @@ -2,6 +2,7 @@ #/usr/bin/startfluxbox #/usr/bin/muffin +printf "`date +%s` - `date` \n`cat /sys/class/power_supply/BAT0/uevent`\n\n" >> ~/bat0_history killall -q pulseaudio /usr/bin/pulseaudio --start sudo /etc/init.d/bluetooth stop