summaryrefslogtreecommitdiff
path: root/.config/i3
diff options
context:
space:
mode:
authoradamstuck <adam.moloney.stuck@gmail.com>2021-08-19 23:56:47 +0200
committeradamstuck <adam.moloney.stuck@gmail.com>2021-08-19 23:56:47 +0200
commitbf9e9706725952c7dbe222664b18128cec22efdf (patch)
treeab1046ff6819b88f5e176775056beb3926c56bdf /.config/i3
parentc4f30f2e2c4a7fbc785d57cbfe7185a1f2eb5a6f (diff)
...
Diffstat (limited to '.config/i3')
-rw-r--r--.config/i3/config35
1 files changed, 19 insertions, 16 deletions
diff --git a/.config/i3/config b/.config/i3/config
index 72c0477..5cc9870 100644
--- a/.config/i3/config
+++ b/.config/i3/config
@@ -8,27 +8,27 @@ floating_modifier $mod
bindsym $mod+Shift+c reload
bindsym $mod+Shift+r restart
-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'"
+bindsym $mod+Shift+e exec --no-startup-id "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'"
bindsym $mod+Shift+q kill
-bindsym $mod+Escape exec systemctl suspend
-bindsym $mod+Return exec alacritty
-bindsym $mod+b exec firefox
-bindsym $mod+e exec pcmanfm
+bindsym $mod+Escape exec --no-startup-id systemctl suspend
+bindsym $mod+Return exec --no-startup-id alacritty
+bindsym $mod+b exec --no-startup-id firefox
+bindsym $mod+e exec --no-startup-id pcmanfm
bindsym $mod+f fullscreen toggle
# Rofi
-bindsym $mod+d exec rofi -show drun -show-icons -theme rofi -drun-display-format {name}
-bindsym Mod1+Tab exec rofi -show window -show-icons -theme rofi -drun-display-format {name}
-bindsym Mod1+b exec rofi -modi "clipboard:greenclip print" -show clipboard -run-command '{cmd}' -show-icons -theme rofi
-bindsym $mod+Shift+p exec rofi -show p -theme rofi -modi "p:rofi-power-menu --choices=shutdown/reboot/suspend/hibernate/logout"
+bindsym $mod+d exec --no-startup-id rofi -show drun -show-icons -theme rofi -drun-display-format {name}
+bindsym Mod1+Tab exec --no-startup-id rofi -show window -show-icons -theme rofi -drun-display-format {name}
+bindsym Mod1+b exec --no-startup-id rofi -modi "clipboard:greenclip print" -show clipboard -run-command '{cmd}' -show-icons -theme rofi
+bindsym $mod+Shift+p exec --no-startup-id rofi -show p -theme rofi -modi "p:rofi-power-menu --choices=shutdown/reboot/suspend/hibernate/logout"
# Media keys
bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +5%
bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -5%
bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle
-bindsym XF86AudioPlay exec playerctl play-pause
-bindsym XF86AudioNext exec playerctl next
-bindsym XF86AudioPrev exec playerctl previous
+bindsym XF86AudioPlay exec --no-startup-id playerctl play-pause
+bindsym XF86AudioNext exec --no-startup-id playerctl next
+bindsym XF86AudioPrev exec --no-startup-id playerctl previous
# Change focus
bindsym $mod+h focus left
@@ -41,8 +41,10 @@ bindsym $mod+Shift+h move left
bindsym $mod+Shift+j move down
bindsym $mod+Shift+k move up
bindsym $mod+Shift+l move right
-bindsym $mod+a focus parent # Focus the parent container
-bindsym $mod+Shift+t focus mode_toggle # Focus tiled / floating windows
+# Focus the parent container
+bindsym $mod+a focus parent
+# Focus tiled / floating windows
+bindsym $mod+Shift+t focus mode_toggle
# Window orientation
bindsym $mod+g split h
@@ -143,7 +145,7 @@ for_window [class="^Unity$" title="^Hold On$"] floating enable
for_window [class="^Unity$" title="^Preparing Package$"] floating enable
for_window [class="^Unity$" title="^Importing Package$"] floating enable
-# Steam https://github.com/ValveSoftware/steam-for-linux/issues/1040
+# Steam
for_window [title="Friends List"] floating enable
for_window [class="^Steam$" title="^Friends$"] floating enable
for_window [class="^Steam$" title="Steam - News"] floating enable
@@ -161,5 +163,6 @@ for_window [title="^Steam Keyboard$"] floating enable
##### Exec
-exec --no-startup-id nm-applet
+exec_always --no-startup-id nm-applet
exec_always --no-startup-id $HOME/.config/polybar/launch.sh
+exec_always --no-startup-id picom --config $HOME/.config/picom/picom.conf -b