aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Jonas Gunz <himself@jonasgunz.de> 2020-07-07 00:13:58 +0200
committerGravatar Jonas Gunz <himself@jonasgunz.de> 2020-07-07 00:13:58 +0200
commit7bcb5233360d6aa0ad8908a817ce9b5d4c4e42b8 (patch)
tree41916272b3a5a286221bd376e0215773657abef0
parent55f8ee06b913dabee158b1191d70b38c7e14ecee (diff)
downloaddotfiles-7bcb5233360d6aa0ad8908a817ce9b5d4c4e42b8.tar.gz
scratchpad, autostart
-rw-r--r--.i3/config30
-rwxr-xr-xxinitrc.d/99-wm.sh5
2 files changed, 18 insertions, 17 deletions
diff --git a/.i3/config b/.i3/config
index 27710e4..344ea6c 100644
--- a/.i3/config
+++ b/.i3/config
@@ -24,12 +24,22 @@ bindsym $mod+Shift+w exec "i3lock -p win -i ~/vimconfig/pictures/lock.png"
#Screenshot on mod+p
bindsym $mod+p exec "scrot ~/Screenshots/Screenshot%Y-%m-%d%H:%M:%S.png"
-# start dmenu (a program launcher)
+# rofi
bindsym $mod+d exec rofi -show run
-# There also is the (new) i3-dmenu-desktop which only displays applications
-# shipping a .desktop file. It is a wrapper around dmenu, so you need that
-# installed.
-# bindsym $mod+d exec --no-startup-id i3-dmenu-desktop
+
+# Scratchpad
+bindsym $mod+Shift+BackSpace move scratchpad
+bindsym $mod+BackSpace scratchpad show
+bindsym $mod+minus [class="KeePassXC"] scratchpad show
+
+# Applications
+
+for_window [class="KeePassXC"] move scratchpad
+
+for_window [class="feh"] floating enable
+#titanfall
+for_window [class="steam_app_1182480"] floating enable
+for_window [title="termite_floating"] floating enable
# change focus
bindsym $mod+j focus left
@@ -304,9 +314,6 @@ client.background $black
default_border none
default_floating_border none
-for_window [class="feh"] floating enable
-for_window [title="termite_floating"] floating enable
-
gaps inner 5
bar {
@@ -324,8 +331,6 @@ bar {
}
}
-#exec_always --no-startup-id ~/.i3/start_polybar.sh jonny
-
# Pulse Audio controls
bindsym XF86AudioRaiseVolume exec --no-startup-id pactl -- set-sink-volume 0 +5%
bindsym XF86AudioLowerVolume exec --no-startup-id pactl -- set-sink-volume 0 -5%
@@ -343,8 +348,3 @@ bindsym XF86AudioNext exec --no-startup-id playerctl next
# https://gitlab.com/wavexx/acpilight
bindsym XF86MonBrightnessUp exec --no-startup-id xbacklight -inc 5 -fps 30 # increase screen brightness
bindsym XF86MonBrightnessDown exec --no-startup-id xbacklight -dec 5 -fps 30 # decrease screen brightness
-
-exec --no-startup-id twmnd
-
-#start autostart.sh
-exec --no-startup-id ~/autostart.sh
diff --git a/xinitrc.d/99-wm.sh b/xinitrc.d/99-wm.sh
index 9eb71e2..52e7d97 100755
--- a/xinitrc.d/99-wm.sh
+++ b/xinitrc.d/99-wm.sh
@@ -1,7 +1,8 @@
#!/bin/sh
-
compton &
-dunst &
+twmnd &
+
+keepassxc &
exec i3