This commit is contained in:
iFargle 2023-08-17 12:03:04 +09:00
parent 88c83d01d6
commit fb11abf702
2 changed files with 29 additions and 3 deletions

View file

@ -35,7 +35,8 @@
users.users.albert = {
isNormalUser = true;
description = "Albert J. Copeland";
extraGroups = [ "networkmanager" "wheel" ];
extraGroups = [ "networkmanager" "wheel" "video" ];
# video is required for the "light" command to work
hashedPassword = "$y$j9T$wKLsIWaA4Gf63RvjedwLJ0$EHKL6BBJV0CAxEKcHHjaBqW085KJ/MGvmbyWzmcWOy6";
};

View file

@ -61,7 +61,7 @@
shadow_render_power = 3
col.shadow = rgba(1a1a1aee)
blur {
size = 12
size = 8
passes = 4
ignore_opacity = true
}
@ -154,6 +154,30 @@
bind = $mainMod SHIFT, right, movetoworkspace, e+1
bind = $mainMod SHIFT, left, movetoworkspace, e-1
# Set up the FN keys:
# F1 - Mute
bind = , XF86AudioMute, exec, amixer set Master toggle
# F2 - Volume Down
bind = , XF86AudioLowerVolume, exec, amixer set Master 3%-
# F3 - Volume Up
bind = , XF86AudioRaiseVolume, exec, amixer set Master 3%+
# F4 - Mute Microphone
bind = , XF86AudioMicMute, exec, amixer set Capture toggle
# F5 - Brightness Down
bind = , XF86MonBrightnessDown, exec, light -U 5
# F6 - Brightness Up
bind = , XF86MonBrightnessUp, exec, light -A 5
# F7 - External Displays
# bind = , XF86
# F8 - Airplane Mode
# bind = , XF86
# F9 - Notifications?
# bind = , XF86
# F10 - Call Answer?
# bind = , XF86
# F11 - Call Hang Up?
# bind = , XF86
# F12 - Favorites?
# bind = , XF86
# Use rofi as an alt-tab switcher
bind = ALT-L TAB, , exec, rofi -show window
@ -169,7 +193,8 @@
#!/usr/bin/env bash
swww init &
# Sets a random wallpaper
swww img /etc/nixos/git/desktops/wallpapers/gruvbox/wallpaper$((1 + $RANDOM % 11)).jpg &
WALLPAPER_DIR=/etc/nixos/git/desktops/wallpapers/gruvbox
swww img $WALLPAPER_DIR/wallpaper$((1 + $RANDOM % $(ls $WALLPAPER_DIR | wc -l))).jpg &
nm-applet --indicator &
waybar &
mako