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, M, exit,
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, J, togglesplit, # dwindle
# Move focus with mainMod + arrow keys
# bind = $mainMod, left, movefocus, l
# bind = $mainMod, right, movefocus, r
# bind = $mainMod, up, movefocus, u
# bind = $mainMod, down, movefocus, d
bind = SUPER_ALT, left, movefocus, l
bind = SUPER_ALT, right, movefocus, r
bind = SUPER_ALT, up, movefocus, u
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]
bind = $mainMod, 1, workspace, 1
@ -162,7 +167,11 @@
bind = $mainMod, S, exec, steam
# 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
bind = $mainMod, R, exec, notify-send "Entered resize mode. Press ESC to quit."

View file

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

View file

@ -1,7 +1,7 @@
{ inputs, config, pkgs, theme, ... }: {
#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 = {
enable = true;
@ -9,8 +9,8 @@
profiles.default = {
isDefault = true;
name = "default";
userChrome = ''@import "firefox-gnome-theme/userChrome.css";'';
userContent = ''@import "firefox-gnome-theme/userContent.css";'';
# userChrome = ''@import "firefox-gnome-theme/userChrome.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
settings = {