summaryrefslogtreecommitdiff
path: root/.config/i3/config
diff options
context:
space:
mode:
Diffstat (limited to '.config/i3/config')
-rw-r--r--.config/i3/config33
1 files changed, 16 insertions, 17 deletions
diff --git a/.config/i3/config b/.config/i3/config
index 8ae9bb2..776d759 100644
--- a/.config/i3/config
+++ b/.config/i3/config
@@ -1,36 +1,32 @@
-##### i3 config
-
set $mod Mod4
set $alt Mod1
floating_modifier $mod
-
##### Bindings
bindsym $mod+Shift+c reload
bindsym $mod+Shift+r restart
-bindsym $mod+Shift+q kill
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+p exec --no-startup-id rofi -show p -modi "p:rofi-power-menu --choices=shutdown/reboot/suspend/logout --confirm="
-
+bindsym $mod+Shift+q kill
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
+bindsym $mod+c exec gnome-control-center --class=floating_window
+# Rofi
bindsym $mod+d exec --no-startup-id rofi -show drun -show-icons -drun-display-format {name}
bindsym $alt+Tab exec --no-startup-id rofi -show window -show-icons -drun-display-format {name}
bindsym $alt+b exec --no-startup-id rofi -modi "clipboard:greenclip print" -show clipboard -run-command '{cmd}' -show-icons
-bindsym $mod+p exec --no-startup-id rofi-pass
+bindsym $mod+Shift+p exec --no-startup-id rofi -show p -modi "p:rofi-power-menu --no-symbols --choices=shutdown/reboot/suspend/logout --confirm="
+bindsym $mod+p exec --no-startup-id rofi-pass
-# Media keys
-bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +5%
+bindsym XF86AudioRaiseVolume exec --no-startup-id ~/.config/i3/custom/volume_up.sh 100
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 --no-startup-id playerctl play-pause
-bindsym XF86AudioNext exec --no-startup-id playerctl next
-bindsym XF86AudioPrev exec --no-startup-id playerctl previous
+bindsym XF86AudioPlay exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle
+bindsym XF86MonBrightnessUp exec --no-startup-id xbacklight -inc 5
+bindsym XF86MonBrightnessDown exec --no-startup-id xbacklight -dec 5
# Change focus
bindsym $mod+h focus left
@@ -137,6 +133,9 @@ for_window [class="floating_window"] floating enable
for_window [window_role="pop-up"] floating enable
for_window [window_role="About"] floating enable
+for_window [window_role="gnome-calculator"] floating enable
+for_window [title="GNOME Tweaks"] floating enable
+
# Jetbrains
for_window [class="^com-intellij-updater-Runner$" title="^Update$"] floating enable
for_window [instance="^sun-awt-X11-XDialogPeer$" title="^Complete Installation$"] floating enable
@@ -147,7 +146,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
+# Steam https://github.com/ValveSoftware/steam-for-linux/issues/1040
for_window [title="Friends List"] floating enable
for_window [class="^Steam$" title="^Friends$"] floating enable
for_window [class="^Steam$" title="Steam - News"] floating enable
@@ -162,9 +161,9 @@ for_window [title="Steam Guard - Computer Authorization Required"] floating enab
for_window [class="^Steam$" title="^Steam Guard - Computer Authorization Required$"] floating enable
for_window [title="^Steam Keyboard$"] floating enable
-
##### Exec
-exec_always --no-startup-id nm-applet
+exec_always --no-startup-id /usr/bin/nm-applet
+exec_always --no-startup-id /usr/bin/unclutter -b
exec_always --no-startup-id $HOME/.config/polybar/launch.sh
-exec_always --no-startup-id picom --config $HOME/.config/picom/picom.conf -b
+exec_always --no-startup-id picom --experimental-backends --config ~/.config/picom/picom.conf -b