diff --git a/files/settings/i3.config b/files/settings/i3.config index b899dad..a9b3c7d 100644 --- a/files/settings/i3.config +++ b/files/settings/i3.config @@ -139,14 +139,6 @@ bindsym $ctrl+$alt+l exec --no-startup-id i3lock -c 000000 -e -f && sleep 1 && x bindsym $mod+c exec codium-flatpak -## Workspace Specific Workflows ## -bindsym $ctrl+$shift+1 workspace $ws1; exec i3-sensible-terminal; -bindsym $ctrl+$shift+2 workspace $ws2; exec firefox-flatpak; -bindsym $ctrl+$shift+3 workspace $ws3; exec codium-flatpak; -bindsym $ctrl+$shift+4 workspace $ws4; exec codium; -bindsym $ctrl+$shift+5 workspace $ws5; exec "session; dino" - - ## Brightness ## # Use the bracket keys to change the brightness. # light requires sudo privileges unless video group and udev are configured. @@ -182,7 +174,7 @@ bindsym $shift+XF86AudioLowerVolume exec --no-startup-id bash -c 'source /usr/lo ## Keyboard Brightness ## # Macbooks tend to use 'sysfs/leds/smc::kbd_backlight' -# NovaCustom laptop is '' +# NovaCustom laptop is '' (TBD) bindsym XF86KbdBrightnessUp exec "light -s sysfs/leds/smc::kbd_backlight -A 05 && notify-send 'Keyboard Brightness + ' $(light -s sysfs/leds/smc::kbd_backlight -G)" bindsym XF86KbdBrightnessDown exec "light -s sysfs/leds/smc::kbd_backlight -U 05 && notify-send 'Keyboard Brightness - ' $(light -s sysfs/leds/smc::kbd_backlight -G)" bindsym $shift+XF86KbdBrightnessUp exec "light -s sysfs/leds/smc::kbd_backlight -A 20 && notify-send 'Keyboard Brightness +++' $(light -s sysfs/leds/smc::kbd_backlight -G)" @@ -193,6 +185,9 @@ bindsym $mod+semicolon exec "light -s sysfs/leds/smc::kbd_backlight -U 0 bindsym $shift+$mod+apostrophe exec "light -s sysfs/leds/smc::kbd_backlight -A 20 && notify-send 'Keyboard Brightness +++' $(light -s sysfs/leds/smc::kbd_backlight -G)" bindsym $shift+$mod+semicolon exec "light -s sysfs/leds/smc::kbd_backlight -U 20 && notify-send 'Keyboard Brightness ---' $(light -s sysfs/leds/smc::kbd_backlight -G)" + +## Workspaces ## + # Define names for default workspaces for which we configure key bindings later on. # We use variables to avoid repeating the names in multiple places. # Command Line @@ -251,6 +246,17 @@ assign [class="(?i).*Code.*"] $ws4 assign [class="(?i).*VPN.*"] $ws10 assign [class="(?i).*Mullvad.*"] $ws10 + +## Workspace Specific Workflows ## +bindsym $ctrl+$shift+1 workspace $ws1; exec i3-sensible-terminal; +bindsym $ctrl+$shift+2 workspace $ws2; exec firefox-flatpak; +bindsym $ctrl+$shift+3 workspace $ws3; exec codium-flatpak; +bindsym $ctrl+$shift+4 workspace $ws4; exec code-flatpak; +bindsym $ctrl+$shift+5 workspace $ws5; exec "session; dino" + + +## Reloads, Restarts, Exit ## + # reload the configuration file bindsym $mod+Shift+c reload @@ -261,6 +267,9 @@ 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+q exit + +## Resizing (Disabled) ## + # resize window (you can also use the mouse for that) #mode "resize" { # # These bindings trigger as soon as you enter the resize mode @@ -288,6 +297,9 @@ bindsym $mod+Shift+q exit # #bindsym $mod+r mode "resize" + +## Taskbar ## + # Start i3bar to display a workspace bar (plus the system information i3status # finds out, if available) bar {