Update some binds, remove email workspace

Add editor workspace instead

Some more (hopefully final now) kanshi fixes...
This commit is contained in:
Evie Litherland-Smith 2023-08-10 08:39:33 +01:00
parent 9c13691d36
commit 270ca8ade4
3 changed files with 17 additions and 22 deletions

View file

@ -132,9 +132,8 @@ in {
bind = SUPER SHIFT, P, exec, pkill rofi || ${pkgs.rofi-wayland}/bin/rofi -show power-menu
# Common program shortcuts
bind = SUPER ALT, X, exec, ${pkgs.emacs}/bin/emacsclient -c -a 'emacs'
bind = SUPER ALT, E, exec, ${pkgs.emacs}/bin/emacsclient -c -a 'emacs'
bind = SUPER ALT, W, exec, ${pkgs.firefox-wayland}/bin/firefox
bind = SUPER ALT, E, exec, ${pkgs.thunderbird}/bin/thunderbird
bind = SUPER ALT, F, exec, ${pkgs.xfce.thunar}/bin/thunar
bind = SUPER ALT, Z, exec, ${pkgs.zotero}/bin/zotero
bind = SUPER ALT, S, exec, ${pkgs.alacritty}/bin/alacritty -e ncspot
@ -170,6 +169,11 @@ in {
bind = SUPER, A, workspace, name:home
bind = SUPER SHIFT, A, movetoworkspace, name:home
# editor
bind = SUPER, E, moveworkspacetomonitor, name:editor current
bind = SUPER, E, workspace, name:editor
bind = SUPER SHIFT, E, movetoworkspace, name:editor
# browser
bind = SUPER, W, moveworkspacetomonitor, name:browser current
bind = SUPER, W, workspace, name:browser
@ -178,12 +182,6 @@ in {
windowrulev2 = float,title:(File|Picture-in-Picture),class:(firefox)
windowrulev2 = pin,title:(File|Picture-in-Picture),class:(firefox)
# 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
bind = SUPER, F, workspace, name:files

View file

@ -5,8 +5,8 @@
format = "{icon}";
format-icons = {
"home" = "󰟀";
"editor" = "󰳼";
"browser" = "󰖟";
"email" = "󰻧";
"files" = "󰝰";
"chat" = "󰭹";
"library" = "󰮩";

View file

@ -8,7 +8,6 @@ in {
inherit username homeDirectory;
stateVersion = "22.11";
packages = with pkgs; [
thunderbird
openfortivpn
nomachine-client
teams-for-linux
@ -156,17 +155,18 @@ in {
outputs = [
{
criteria = "eDP-1";
position = "0,305";
position = "0,665";
scale = 1.5;
status = "enable";
}
{
criteria = "Iiyama North America PLB2403WS 0574281251316";
position = "1920,185";
position = "1280,185";
status = "enable";
}
{
criteria = "Dell Inc. DELL U2417H 5K9YD872FY1L";
position = "3840,0";
position = "3200,0";
status = "enable";
}
];
@ -176,16 +176,13 @@ in {
outputs = [
{
criteria = "Acer Technologies ED270R TJMEE0043W01";
mode = "1920x1080@120.00";
position = "0,0";
scale = 1.0;
status = "enable";
}
{
criteria = "eDP-1";
mode = "1920x1080";
position = "1920,0";
scale = 1.0;
position = "1280,0";
scale = 1.5;
status = "enable";
}
];
@ -193,9 +190,9 @@ in {
};
};
xdg.configFile."hypr/display.conf".text = ''
monitor=eDP-1,preferred,auto,1
monitor=desc:Iiyama North America PLB2403WS 0574281251316,preferred,auto,1
monitor=desc:Dell Inc. DELL U2417H 5K9YD872FY1L,preferred,auto,1,transform,1
monitor=desc:Acer Technologies ED270R TJMEE0043W01,highrr,auto,1
monitor=eDP-1,preferred,auto,1.5
monitor=desc:Iiyama North America PLB2403WS 0574281251316,preferred,1280x185,1
monitor=desc:Dell Inc. DELL U2417H 5K9YD872FY1L,preferred,3200x0,1,transform,1
monitor=desc:Acer Technologies ED270R TJMEE0043W01,highrr,0x0,1
'';
}