diff options
author | Jesse Morgan <jesse@jesterpm.net> | 2022-04-01 20:06:45 -0700 |
---|---|---|
committer | Jesse Morgan <jesse@jesterpm.net> | 2022-04-01 20:06:45 -0700 |
commit | 9f825a1b7a848c9c8d0bf11de50fa850022483a7 (patch) | |
tree | 14c6b808b3ab06630450fc2b485d69b3d57d1e26 /base/config/i3/config.d | |
parent | 613bca4812f2c9c6f338d478c676e9f307b25f48 (diff) |
Commit accured changed
Diffstat (limited to 'base/config/i3/config.d')
-rw-r--r-- | base/config/i3/config.d/00_base_config | 67 |
1 files changed, 54 insertions, 13 deletions
diff --git a/base/config/i3/config.d/00_base_config b/base/config/i3/config.d/00_base_config index 67f3943..c373851 100644 --- a/base/config/i3/config.d/00_base_config +++ b/base/config/i3/config.d/00_base_config @@ -6,7 +6,7 @@ set $mod Mod4 floating_modifier $mod ## Visual Settings -font xft:Inconsolata 10 +font xft:Inconsolata 8 hide_edge_borders both ## Bindings to start programs @@ -51,9 +51,9 @@ bindsym $mod+f fullscreen ## Bindings to control workspaces ### Switch Workspaces -bindsym $mod+1 workspace number 1 -bindsym $mod+2 workspace number 2 -bindsym $mod+3 workspace number 3 +bindsym $mod+1 workspace number "1: mail" +bindsym $mod+2 workspace number "2: web" +bindsym $mod+3 workspace number "3: dev" bindsym $mod+4 workspace number 4 bindsym $mod+5 workspace number 5 bindsym $mod+6 workspace number 6 @@ -65,9 +65,9 @@ bindsym $mod+Left workspace prev_on_output bindsym $mod+Right workspace next_on_output ### Move container to workspace -bindsym $mod+Shift+exclam move workspace number 1 -bindsym $mod+Shift+at move workspace number 2 -bindsym $mod+Shift+numbersign move workspace number 3 +bindsym $mod+Shift+exclam move workspace number "1: mail" +bindsym $mod+Shift+at move workspace number "2: web" +bindsym $mod+Shift+numbersign move workspace number "3: dev" bindsym $mod+Shift+dollar move workspace number 4 bindsym $mod+Shift+percent move workspace number 5 bindsym $mod+Shift+asciicircum move workspace number 6 @@ -81,9 +81,24 @@ bindsym $mod+Shift+Right move workspace next ### Move workspace to different monitor bindsym $mod+Mod1+Left move workspace to output left bindsym $mod+Mod1+Right move workspace to output right +bindsym $mod+Mod1+Up move workspace to output up +bindsym $mod+Mod1+Down move workspace to output down workspace_auto_back_and_forth yes -workspace_layout stacking +workspace_layout default + +### Workspace monitor assignments + +workspace "1: mail" output eDP-1 +workspace "2: web" output DP-1 +workspace "3: dev" output DP-1 +workspace 4 output DP-1 +workspace 5 output DP-1 +workspace 6 output DP-1 +workspace 7 output DP-1 +workspace 8 output DP-1 +workspace 9 output DP-1 +workspace 10 output DP-1 ### Scratchpad bindsym $mod+Shift+minus move scratchpad @@ -115,13 +130,34 @@ mode "resize" { bindsym Escape mode "default" } +### Display Settings +set $displayMode "Choose [l]aptop or [d]esktop, [e]xtend, [m]irror" +bindsym $mod+p mode $displayMode +mode $displayMode { + bindsym l exec "\ + xrandr --output eDP-1 --mode 1920x1080 --primary && \ + xrandr --output DP-1 --off"; mode "default" + bindsym d exec "\ + xrandr --output DP-1 --auto --primary && \ + xrandr --output eDP-1 --off"; mode "default" + bindsym e exec "\ + xrandr --output eDP-1 --mode 1920x1080 --primary && \ + xrandr --output DP-1 --above eDP-1 --mode 1920x1080 \ + "; mode "default" + bindsym m exec "\ + xrandr --output eDP-1 --mode 1920x1080 --primary && \ + xrandr --output DP-1 --same-as eDP-1 --auto \ + "; mode "default" + bindsym Return mode "default" + bindsym Escape mode "default" +} ## i3bar Settings bar { status_command conky-i3bar position bottom tray_output primary - font xft:Inconsolata 10 + font xft:Inconsolata 9 } @@ -134,13 +170,17 @@ bindsym $mod+c exec clipmv ### Music bindsym XF86AudioPlay exec xmms2 toggle +bindsym $mod+End exec xmms2 toggle bindsym XF86AudioNext exec xmms2 next +bindsym $mod+Home exec xmms2 next bindsym XF86AudioPrev exec xmms2 prev ### Volume -bindsym XF86AudioRaiseVolume exec "amixer -q set Master 5%+ unmute; amixer -q set Speaker unmute" -bindsym XF86AudioLowerVolume exec "amixer -q set Master 5%- unmute; amixer -q set Speaker unmute" -bindsym XF86AudioMute exec amixer -q set Master mute +bindsym XF86AudioRaiseVolume exec "amixer -D pulse -q set Master 5%+ unmute; amixer -D pulse -q set Speaker unmute" +bindsym $mod+Prior exec "amixer -D pulse -q set Master 5%+ unmute; amixer -D pulse -q set Speaker unmute" +bindsym XF86AudioLowerVolume exec "amixer -D pulse -q set Master 5%- unmute; amixer -D pulse -q set Speaker unmute" +bindsym $mod+Next exec "amixer -D pulse -q set Master 5%- unmute; amixer -D pulse -q set Speaker unmute" +bindsym XF86AudioMute exec amixer -D pulse -q set Master mute ### Brightness bindsym XF86MonBrightnessUp exec "brightnessctl set +5%" @@ -149,5 +189,6 @@ bindsym XF86MonBrightnessDown exec "brightnessctl set 5%-" ## Specific Window Settings for_window [class="Gcalctool"] floating enable for_window [class="Gnome-calculator"] floating enable -for_window [class="file_progress"] floating enable +for_window [class="file_progress"] floating enable +for_window [title="Unlock Database - KeePassXC"] floating enable |