Rename workspaces, update clock widget format

This commit is contained in:
Evie Litherland-Smith 2023-07-18 16:24:27 +01:00
parent 7858d73212
commit 865e47f0ce
7 changed files with 73 additions and 57 deletions

View file

@ -27,3 +27,5 @@ waybar:
home: home:
nix run nixpkgs#home-manager -- switch --flake . nix run nixpkgs#home-manager -- switch --flake .
make hyprland
make waybar

View file

@ -18,6 +18,7 @@ env = XCURSOR_SIZE,24
env = QT_AUTO_SCREEN_SCALE_FACTOR=1 env = QT_AUTO_SCREEN_SCALE_FACTOR=1
env = QT_QPA_PLATFORM=wayland;xcb env = QT_QPA_PLATFORM=wayland;xcb
env = QT_WAYLAND_DISABLE_WINDOWDECORATION=1 env = QT_WAYLAND_DISABLE_WINDOWDECORATION=1
env = MOZ_ENABLE_WAYLAND=1
input { input {
kb_layout = gb kb_layout = gb
@ -106,33 +107,33 @@ bind = SUPER SHIFT, L, movewindow, r
bind = SUPER SHIFT, K, movewindow, u bind = SUPER SHIFT, K, movewindow, u
bind = SUPER SHIFT, J, movewindow, d bind = SUPER SHIFT, J, movewindow, d
bind = SUPER, A, moveworkspacetomonitor, 1 current bind = SUPER, A, moveworkspacetomonitor, name:home current
bind = SUPER, A, workspace, 1 bind = SUPER, A, workspace, name:home
bind = SUPER SHIFT, A, movetoworkspace, 1 bind = SUPER SHIFT, A, movetoworkspace, name:home
bind = SUPER, D, moveworkspacetomonitor, 2 current bind = SUPER, D, moveworkspacetomonitor, name:dev current
bind = SUPER, D, workspace, 2 bind = SUPER, D, workspace, name:dev
bind = SUPER SHIFT, D, movetoworkspace, 2 bind = SUPER SHIFT, D, movetoworkspace, name:dev
bind = SUPER, W, moveworkspacetomonitor, 3 current bind = SUPER, W, moveworkspacetomonitor, name:browser current
bind = SUPER, W, workspace, 3 bind = SUPER, W, workspace, name:browser
bind = SUPER SHIFT, W, movetoworkspace, 3 bind = SUPER SHIFT, W, movetoworkspace, name:browser
bind = SUPER, F, moveworkspacetomonitor, 4 current bind = SUPER, F, moveworkspacetomonitor, name:files current
bind = SUPER, F, workspace, 4 bind = SUPER, F, workspace, name:files
bind = SUPER SHIFT, F, movetoworkspace, 4 bind = SUPER SHIFT, F, movetoworkspace, name:files
bind = SUPER, C, moveworkspacetomonitor, 5 current bind = SUPER, C, moveworkspacetomonitor, name:chat current
bind = SUPER, C, workspace, 5 bind = SUPER, C, workspace, name:chat
bind = SUPER SHIFT, C, movetoworkspace, 5 bind = SUPER SHIFT, C, movetoworkspace, name:chat
bind = SUPER, R, moveworkspacetomonitor, 6 current bind = SUPER, Z, moveworkspacetomonitor, name:mail current
bind = SUPER, R, workspace, 6 bind = SUPER, Z, workspace, name:mail
bind = SUPER SHIFT, R, movetoworkspace, 6 bind = SUPER SHIFT, Z, movetoworkspace, name:mail
bind = SUPER, S, moveworkspacetomonitor, 7 current bind = SUPER, R, moveworkspacetomonitor, name:remote current
bind = SUPER, S, workspace, 7 bind = SUPER, R, workspace, name:remote
bind = SUPER SHIFT, S, movetoworkspace, 7 bind = SUPER SHIFT, R, movetoworkspace, name:remote
bind = SUPER, 8, moveworkspacetomonitor, 8 current bind = SUPER, S, moveworkspacetomonitor, name:steam current
bind = SUPER, 8, workspace, 8 bind = SUPER, S, workspace, name:steam
bind = SUPER SHIFT, 8, movetoworkspace, 8 bind = SUPER SHIFT, S, movetoworkspace, name:steam
bind = SUPER, 9, moveworkspacetomonitor, 9 current bind = SUPER, X, moveworkspacetomonitor, name:misc current
bind = SUPER, 9, workspace, 9 bind = SUPER, X, workspace, name:misc
bind = SUPER SHIFT, 9, movetoworkspace, 9 bind = SUPER SHIFT, X, movetoworkspace, name:misc
bind = SUPER, period, workspace, m+1 bind = SUPER, period, workspace, m+1
bind = SUPER SHIFT, period, movetoworkspace, r+1 bind = SUPER SHIFT, period, movetoworkspace, r+1
@ -155,17 +156,18 @@ bindm = SUPER, mouse:272, movewindow
bindm = SUPER, mouse:273, resizewindow bindm = SUPER, mouse:273, resizewindow
# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more # See https://wiki.hyprland.org/Configuring/Window-Rules/ for more
windowrule = workspace 2,(neovide) windowrule = workspace name:dev,(neovide)
windowrule = workspace 3,(firefox) windowrule = workspace name:browser,(firefox)
windowrule = workspace 4,^(libreoffice).* windowrule = workspace name:files,^(libreoffice).*
windowrule = workspace 4,(Zotero) windowrule = workspace name:files,(Zotero)
windowrule = workspace 5,(Signal) windowrule = workspace name:chat,(Signal)
windowrule = workspace 5,(fractal) windowrule = workspace name:chat,(fractal)
windowrule = workspace 5,(discord) windowrule = workspace name:chat,(discord)
windowrule = workspace 5,(teams-for-linux) windowrule = workspace name:chat,(teams-for-linux)
windowrule = workspace 6,(Nxplayer.bin) windowrule = workspace name:mail,(thunderbird)
windowrule = workspace 7,^(steam).* windowrule = workspace name:remote,(Nxplayer.bin)
windowrule = workspace 7,(.gamescope-wrapped) windowrule = workspace name:steam,^(steam).*
windowrule = workspace name:steam,(.gamescope-wrapped)
windowrule = float,(foot) windowrule = float,(foot)
windowrule = center,(foot) windowrule = center,(foot)

View file

@ -25,7 +25,7 @@
cpu = import ./modules/cpu.nix; cpu = import ./modules/cpu.nix;
memory = import ./modules/memory.nix; memory = import ./modules/memory.nix;
temperature = import ./modules/temperature.nix; temperature = import ./modules/temperature.nix;
clock = import ./modules/clock.compact.nix; clock = import ./modules/clock.nix;
pulseaudio = import ./modules/pulseaudio.nix; pulseaudio = import ./modules/pulseaudio.nix;
bluetooth = import ./modules/bluetooth.compact.nix; bluetooth = import ./modules/bluetooth.compact.nix;
network = import ./modules/network.compact.nix; network = import ./modules/network.compact.nix;

View file

@ -1,6 +1,6 @@
{ {
format = "{:%R 󰅐 }"; format = "{:%a %d %b %R}";
# format-alt = "{:%A %Y-%m-%d 󰃭 }"; format-alt = "{:%A %F %T}";
tooltip-format = "<tt><small>{calendar}</small></tt>"; tooltip-format = "<tt><small>{calendar}</small></tt>";
calendar = { calendar = {
mode = "month"; mode = "month";

View file

@ -4,16 +4,25 @@
all-outputs = false; all-outputs = false;
format = "{icon}"; format = "{icon}";
format-icons = { format-icons = {
"1" = "󰟀"; "home" = "󰟀";
"2" = "󰅴"; "dev" = "󰅴";
"3" = "󰈹"; "browser" = "󰈹";
"4" = "󰝰"; "files" = "󰝰";
"5" = "󰭹"; "chat" = "󰭹";
"6" = "󰢹"; "mail" = "󰇮";
"7" = "󰓓"; "remote" = "󰢹";
"8" = "󰣘"; "steam" = "󰓓";
"9" = "󰣙"; "misc" = "󰣙";
urgent = ""; "1" = "󰎤";
"2" = "󰎧";
"3" = "󰎪";
"4" = "󰎭";
"5" = "󰎱";
"6" = "󰎳";
"7" = "󰎶";
"8" = "󰎹";
"9" = "󰎼";
urgent = "󱈸";
}; };
sort-by-number = true; sort-by-name = true;
} }

View file

@ -69,7 +69,7 @@ symbol = " "
symbol = "⌘ " symbol = "⌘ "
[hostname] [hostname]
ssh_symbol = "󰒋 " ssh_symbol = "󰢹 "
style = "bold green" style = "bold green"
[hg_branch] [hg_branch]

View file

@ -15,6 +15,7 @@ in {
inherit username homeDirectory; inherit username homeDirectory;
stateVersion = "22.11"; stateVersion = "22.11";
packages = with pkgs; [ packages = with pkgs; [
thunderbird
openfortivpn openfortivpn
nomachine-client nomachine-client
teams-for-linux teams-for-linux
@ -34,7 +35,7 @@ in {
undocked = { undocked = {
outputs = [ outputs = [
{ {
criteria = "*"; criteria = "eDP-1";
status = "enable"; status = "enable";
} }
]; ];
@ -48,9 +49,11 @@ in {
} }
{ {
criteria = "Iiyama North America PLB2403WS 0574281251316"; criteria = "Iiyama North America PLB2403WS 0574281251316";
status = "enable";
} }
{ {
criteria = "Dell Inc. DELL U2417H 5K9YD872FY1L"; criteria = "Dell Inc. DELL U2417H 5K9YD872FY1L";
status = "enable";
} }
]; ];
exec = [restart_hyprpaper]; exec = [restart_hyprpaper];
@ -58,8 +61,8 @@ in {
}; };
}; };
xdg.configFile."hypr/display.conf".text = '' xdg.configFile."hypr/display.conf".text = ''
monitor=eDP-1,1920x1080@60,auto,1.25 monitor=eDP-1,preferred,auto,1.5
monitor=desc:Iiyama North America PLB2403WS 0574281251316,1920x1200@60,0x185,1 monitor=desc:Iiyama North America PLB2403WS 0574281251316,preferred,0x185,1
monitor=desc:Dell Inc. DELL U2417H 5K9YD872FY1L,1920x1080@60,1920x0,1,transform,1 monitor=desc:Dell Inc. DELL U2417H 5K9YD872FY1L,preferred,1920x0,1,transform,1
''; '';
} }