config update

This commit is contained in:
Gregor Feierabend 2021-07-13 13:04:45 +02:00
parent 6364afe840
commit d627e1ecab
3 changed files with 4 additions and 23 deletions

View File

@ -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

View File

@ -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

View File

@ -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