This commit is contained in:
albert 2023-11-14 19:31:56 +09:00
parent 8a123c01a4
commit a72082bb3e
No known key found for this signature in database
GPG key ID: 64F6C4EB46C4543A
3 changed files with 26 additions and 17 deletions

View file

@ -102,15 +102,20 @@
bind = $mainMod, C, killactive, bind = $mainMod, C, killactive,
bind = $mainMod, M, exit, bind = $mainMod, M, exit,
bind = $mainMod, V, togglefloating, bind = $mainMod, V, togglefloating,
bind = $mainMod, R, exec, wofi --show drun # bind = $mainMod, R, exec, wofi --show drun
bind = $mainMod, P, pseudo, # dwindle bind = $mainMod, P, pseudo, # dwindle
bind = $mainMod, J, togglesplit, # dwindle bind = $mainMod, J, togglesplit, # dwindle
# Move focus with mainMod + arrow keys # Move focus with mainMod + arrow keys
# bind = $mainMod, left, movefocus, l bind = SUPER_ALT, left, movefocus, l
# bind = $mainMod, right, movefocus, r bind = SUPER_ALT, right, movefocus, r
# bind = $mainMod, up, movefocus, u bind = SUPER_ALT, up, movefocus, u
# bind = $mainMod, down, movefocus, d bind = SUPER_ALT, down, movefocus, d
bind = SUPER_ALT, H, movefocus, l
bind = SUPER_ALT, L, movefocus, r
bind = SUPER_ALT, K, movefocus, u
bind = SUPER_ALT, J, movefocus, d
# Switch workspaces with mainMod + [0-9] # Switch workspaces with mainMod + [0-9]
bind = $mainMod, 1, workspace, 1 bind = $mainMod, 1, workspace, 1
@ -162,7 +167,11 @@
bind = $mainMod, S, exec, steam bind = $mainMod, S, exec, steam
# Lock the screen, send to swaylock and pause music # Lock the screen, send to swaylock and pause music
bind = $mainMod, L, exec, swaylock && playerctl pause bind = $mainMod, L, exec, playerctl pause && sleep 0.5 && swaylock
# to switch between windows in a floating workspace
bind = $mainMod ,Tab, cyclenext, # change focus to another window
bind = $mainMod ,Tab, bringactivetotop, # bring it to the top
# Resize # Resize
bind = $mainMod, R, exec, notify-send "Entered resize mode. Press ESC to quit." bind = $mainMod, R, exec, notify-send "Entered resize mode. Press ESC to quit."

View file

@ -39,18 +39,18 @@
], ],
"custom/wlogout": { "custom/wlogout": {
"format": "", "format": " {}",
"on-click": "wlogout" "on-click": "wlogout"
}, },
"custom/tailscale": { "custom/tailscale": {
"format": "{icon} {}", "format": "{icon}",
"exec": "$HOME/.config/waybar/scripts/tailscale.sh", "exec": "$HOME/.config/waybar/scripts/tailscale.sh",
"exec-if": "pgrep tailscaled", "exec-if": "pgrep tailscaled",
"return-type": "json", "return-type": "json",
"interval": 5, "interval": 5,
"format-icons": { "format-icons": {
"Running": "󰌆", "Running": "TESET 󰌆",
"Stopped": "󰌊", "Stopped": "󰌊",
} }
}, },
@ -58,8 +58,8 @@
"idle_inhibitor": { "idle_inhibitor": {
"format": "{icon}", "format": "{icon}",
"format-icons": { "format-icons": {
"activated": "", "activated": " {}",
"deactivated": "" "deactivated": " {}"
} }
}, },
@ -163,7 +163,7 @@
#workspaces button.visible, #workspaces button.visible,
#workspaces button { #workspaces button {
font-size: 1px; font-size: 15px;
border-radius: 50px; border-radius: 50px;
padding: 0px 5px; padding: 0px 5px;
margin: 5px; margin: 5px;

View file

@ -1,7 +1,7 @@
{ inputs, config, pkgs, theme, ... }: { { inputs, config, pkgs, theme, ... }: {
#imports = [ ./themes/${theme}/firefox-theme.nix ]; #imports = [ ./themes/${theme}/firefox-theme.nix ];
home.file.".mozilla/firefox/nix-user-profile/chrome/firefox-gnome-theme".source = inputs.firefox-gnome-theme; # home.file.".mozilla/firefox/nix-user-profile/chrome/firefox-gnome-theme".source = inputs.firefox-gnome-theme;
programs.firefox = { programs.firefox = {
enable = true; enable = true;
@ -9,8 +9,8 @@
profiles.default = { profiles.default = {
isDefault = true; isDefault = true;
name = "default"; name = "default";
userChrome = ''@import "firefox-gnome-theme/userChrome.css";''; # userChrome = ''@import "firefox-gnome-theme/userChrome.css";'';
userContent = ''@import "firefox-gnome-theme/userContent.css";''; # userContent = ''@import "firefox-gnome-theme/userContent.css";'';
# https://discourse.nixos.org/t/anyone-using-firefox-gnome-theme-successfully-with-nixos-home-manager/19248/3 # https://discourse.nixos.org/t/anyone-using-firefox-gnome-theme-successfully-with-nixos-home-manager/19248/3
settings = { settings = {