Add some new workspaces

Add workspaces for email and video calls, going for more program
separation again rather than endless browser tabs

Renamed pass to vault for better mnemonic binds
This commit is contained in:
Evie Litherland-Smith 2023-08-03 15:15:31 +01:00
parent 91061f23fe
commit e9aa9ffe8c
3 changed files with 43 additions and 18 deletions

View file

@ -69,17 +69,20 @@ XWayland {
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
bind = SUPER, Return, exec, wezterm
bind = SUPER SHIFT, Return, exec, pkill rofi || rofi -show ssh
bind = SUPER, W, exec, pgrep firefox > /dev/null || firefox
bind = SUPER, F1, exec, swaylock
bind = SUPER, X, exec, emacsclient -c -a 'emacs'
bind = SUPER, W, exec, pgrep firefox > /dev/null || firefox
bind = SUPER, E, exec, pgrep thunderbird > /dev/null || thunderbird
bind = SUPER, V, exec, pgrep bitwarden > /dev/null || bitwarden
# Rofi binds
bind = SUPER, Space, exec, pkill rofi || rofi -show drun
bind = SUPER SHIFT, Space, exec, pkill rofi || rofi -show run
bind = SUPER, E, exec, emacsclient -c -a 'emacs'
bind = SUPER SHIFT, Return, exec, pkill rofi || rofi -show ssh
bind = SUPER SHIFT, E, exec, pkill rofi || rofi -show file-browser-extended
bind = SUPER SHIFT, P, exec, pkill rofi || rofi -show power-menu
bind = SUPER, V, togglefloating
bind = SUPER, B, togglefloating
bind = SUPER SHIFT, Q, killactive,
bind = SUPER, M, fullscreen, 1
bind = SUPER SHIFT, M, fullscreen, 0
@ -121,10 +124,14 @@ bind = SUPER, W, moveworkspacetomonitor, name:browser current
bind = SUPER, W, workspace, name:browser
bind = SUPER SHIFT, W, movetoworkspace, name:browser
windowrule = workspace name:browser,(firefox)
windowrule = workspace name:browser,(chromium-browser)
windowrulev2 = float,title:(File|Picture-in-Picture),class:(firefox)
windowrulev2 = pin,title:(File|Picture-in-Picture),class:(firefox)
windowrulev2 = float,title:^(about:blank).*,class:(chromium-browser)
# email
bind = SUPER, E, moveworkspacetomonitor, name:email current
bind = SUPER, E, workspace, name:email
bind = SUPER SHIFT, E, movetoworkspace, name:email
windowrule = workspace name:email,(thunderbird)
# files
bind = SUPER, F, moveworkspacetomonitor, name:files current
@ -142,6 +149,18 @@ bind = SUPER SHIFT, C, movetoworkspace, name:chat
windowrule = workspace name:chat,(Signal)
windowrule = workspace name:chat,(fractal)
windowrule = workspace name:chat,(discord)
windowrule = workspace name:chat,(teams-for-linux)
# call
bind = SUPER, Z, moveworkspacetomonitor, name:call current
bind = SUPER, Z, workspace, name:call
bind = SUPER SHIFT, Z, movetoworkspace, name:call
windowrulev2 = workspace name:call,title:(Zoom|zoom)
windowrulev2 = float,title:(Zoom|zoom)
windowrulev2 = move cursor 0 0,title:(Zoom|zoom)
windowrulev2 = maxsize 800 600,title:(Zoom|zoom)
windowrulev2 = nofullscreenrequest,title:(Zoom|zoom)
windowrulev2 = nomaximizerequest,title:(Zoom|zoom)
# music
bind = SUPER, S, moveworkspacetomonitor, name:music current
@ -149,20 +168,22 @@ bind = SUPER, S, workspace, name:music
bind = SUPER SHIFT, S, movetoworkspace, name:music
windowrulev2 = workspace name:music,class:(org.wezfurlong.wezterm),title:(ncspot)
# pass
bind = SUPER, B, moveworkspacetomonitor, name:pass current
bind = SUPER, B, workspace, name:pass
bind = SUPER SHIFT, B, movetoworkspace, name:pass
windowrule = workspace name:pass,(Bitwarden)
# vault
bind = SUPER, V, moveworkspacetomonitor, name:vault current
bind = SUPER, V, workspace, name:vault
bind = SUPER SHIFT, V, movetoworkspace, name:vault
windowrule = workspace name:vault,(Bitwarden)
# remote
bind = SUPER, R, moveworkspacetomonitor, name:remote current
bind = SUPER, R, workspace, name:remote
bind = SUPER SHIFT, R, movetoworkspace, name:remote
windowrule = workspace name:remote,(Nxplayer.bin)
windowrule = float,(Nxplayer.bin)
windowrule = center,(Nxplayer.bin)
windowrule = maxsize 1700 900,(Nxplayer.bin)
windowrule = nofullscreenrequest,(Nxplayer.bin)
windowrule = nomaximizerequest,(Nxplayer.bin)
windowrule = maximize,(Nxplayer.bin)
# Numbered workspaces
bind = SUPER, 1, workspace, 1
@ -195,6 +216,7 @@ bind = SUPER, bracketright, focusmonitor, +1
bind = SUPER SHIFT, bracketright, movecurrentworkspacetomonitor, +1
bind = SUPER, bracketleft, focusmonitor, -1
bind = SUPER SHIFT, bracketleft, movecurrentworkspacetomonitor, -1
bind = SUPER, U, focusurgentorlast
# Move/resize windows with mainMod + LMB/RMB and dragging
bindm = SUPER, mouse:272, movewindow
@ -202,8 +224,6 @@ bindm = SUPER, mouse:273, resizewindow
# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more
windowrule = float,(foot)
windowrule = center,(foot)
windowrule = float,(pavucontrol)
windowrule = size 800 600,(pavucontrol)
windowrule = move 100%-820 10%,(pavucontrol)
@ -213,8 +233,6 @@ windowrule = move 100%-820 10%,(.blueman-manager-wrapped)
windowrule = float,(nm-connection-editor)
windowrule = size 800 600,(nm-connection-editor)
windowrule = move 100%-820 10%,(nm-connection-editor)
windowrule = float,(otpclient)
windowrule = move 10% 10%,(otpclient)
exec-once = hyprpaper
exec-once = waybar

View file

@ -6,10 +6,12 @@
format-icons = {
"home" = "󰟀";
"browser" = "󰖟";
"email" = "󰻧";
"files" = "󰝰";
"chat" = "󰭹";
"call" = "󰍫";
"music" = "󰲸";
"pass" = "󰌾";
"vault" = "󰌾";
"remote" = "󰢹";
"1" = "󰎦";
"2" = "󰎩";

View file

@ -21,7 +21,12 @@ in {
home = {
inherit username homeDirectory;
stateVersion = "22.11";
packages = with pkgs; [ openfortivpn nomachine-client ];
packages = with pkgs; [
openfortivpn
nomachine-client
teams-for-linux
zoom-us
];
};
programs.home-manager.enable = true;
programs.chromium.enable = true;