Moved cron service to all configurations, added goeland, and testing volume control with sxhkd

This commit is contained in:
Thai Noodles 2023-11-14 20:15:29 -08:00
parent 8f7755826f
commit 97c902ecc8
9 changed files with 20 additions and 37 deletions

View File

@ -122,18 +122,7 @@
setw -g window-status-format "[#I:#W#F]" setw -g window-status-format "[#I:#W#F]"
''; '';
plugins = with pkgs; [ plugins = with pkgs; [
tmuxPlugins.cpu tmuxPlugins.urlview
{
plugin = tmuxPlugins.resurrect;
extraConfig = "set -g @resurrect-strategy-nvim 'session'";
}
{
plugin = tmuxPlugins.continuum;
extraConfig = ''
set -g @continuum-restore 'on'
set -g @continuum-save-interval '60' # minutes
'';
}
]; ];
prefix = "C-b"; prefix = "C-b";
}; };

View File

@ -26,9 +26,6 @@ bspc rule -a "*:Toolkit:Picture-in-Picture" \
rectangle=640x360+1920+1080 rectangle=640x360+1920+1080
bspc rule -a discord:discord: desktop='2' bspc rule -a discord:discord: desktop='2'
bspc rule -a Signal:signal: desktop='2' bspc rule -a Signal:signal: desktop='2'
bspc rule -a obsidian:obsidian: desktop='7'
bspc rule -a betterbird:Mail: desktop='7'
bspc rule -a steam:steamwebhelper: desktop='9' bspc rule -a steam:steamwebhelper: desktop='9'
bspc rule -a librewolf:Navigator: desktop='0'
bspc rule -a trayer:panel: border=off manage=off bspc rule -a trayer:panel: border=off manage=off
bspc rule -a xdragon:Xdragon state=floating sticky=on bspc rule -a xdragon:Xdragon state=floating sticky=on

View File

@ -19,7 +19,7 @@ cmd open ${{
text/*|application/json) $EDITOR "$f";; text/*|application/json) $EDITOR "$f";;
application/pdf) mupdf "$f";; application/pdf) mupdf "$f";;
application/vnd.openxmlformats-officedocument.wordprocessingml.document) onlyoffice-desktopeditors "$f";; application/vnd.openxmlformats-officedocument.wordprocessingml.document) onlyoffice-desktopeditors "$f";;
image/*) sxiv "$f";; image/*) feh "$f";;
video/*) mpv "$f";; video/*) mpv "$f";;
*) xdg-open "$f" ;; *) xdg-open "$f" ;;
esac esac

View File

@ -22,6 +22,12 @@ super + shift + s
super + v super + v
clipmenu clipmenu
# volume controls
super + shift + comma
amixer sset Master 5%- && notify-desktop "Volume is now $(amixer sget Master | awk -F '[][]' '/Right:/ { print $2 }')"
super + shift + period
amixer sset Master 5%+ && notify-desktop "Volume is now $(amixer sget Master | awk -F '[][]' '/Right:/ { print $2 }')"
# make sxhkd reload its configuration files: # make sxhkd reload its configuration files:
super + shift + r super + shift + r
pkill -USR1 -x sxhkd; notify-desktop "sxhkd config reloaded" pkill -USR1 -x sxhkd; notify-desktop "sxhkd config reloaded"

View File

@ -10,7 +10,7 @@ dunst &
clipmenud & clipmenud &
trayer --edge bottom --align right --margin 0 --widthtype request --SetDockType true --transparent true --alpha 255 & trayer --edge bottom --align right --margin 0 --widthtype request --SetDockType true --transparent true --alpha 255 &
nm-applet & nm-applet &
volumeicon & #pa-applet &
mullvad-gui & mullvad-gui &
sxhkd & sxhkd &
xrandr --output DP-1 --primary --mode 2560x1440 --rotate normal --rate "164.99" --output DP-2 --mode 2560x1440 --rotate normal --rate "164.99" --right-of DP-1 & xrandr --output DP-1 --primary --mode 2560x1440 --rotate normal --rate "164.99" --output DP-2 --mode 2560x1440 --rotate normal --rate "164.99" --right-of DP-1 &

View File

@ -125,18 +125,6 @@
}; };
}; };
}; };
librewolf = {
enable = true;
#settings = {
#};
};
mpv = {
enable = true;
#bindings = {
#};
#config = {
#};
};
}; };
#home.packages = with pkgs; [ #home.packages = with pkgs; [
# (dmenu.overrideAttrs (oldAttrs: rec { # (dmenu.overrideAttrs (oldAttrs: rec {

View File

@ -41,8 +41,8 @@ in
users.users.${user.name} = { users.users.${user.name} = {
extraGroups = [ "libvirtd" "transmission" "davfs2" ]; extraGroups = [ "libvirtd" "transmission" "davfs2" ];
packages = [ packages = [
pkgs.go
pkgs.rss2email pkgs.rss2email
pkgs.goeland
]; ];
}; };
services = { services = {

View File

@ -37,10 +37,13 @@
}; };
services = { services = {
cron.systemCronJobs = [ cron = {
# Clean logs older than 2d enable = true;
"0 20 * * * root journalctl --vacuum-time=2d" systemCronJobs = [
]; # Clean logs older than 2d
"0 20 * * * root journalctl --vacuum-time=2d"
];
};
openssh = { openssh = {
enable = true; enable = true;
settings = { settings = {

View File

@ -13,7 +13,7 @@
enable = true; enable = true;
defaultApplications = { defaultApplications = {
"image/*" = [ "image/*" = [
"sxiv.desktop" "feh.desktop"
]; ];
}; };
}; };
@ -69,6 +69,7 @@
ani-cli ani-cli
bashmount bashmount
discord discord
feh
glib glib
lagrange lagrange
libreoffice libreoffice
@ -80,7 +81,6 @@
scrot scrot
signal-desktop signal-desktop
surf surf
sxiv
tabbed tabbed
tor-browser-bundle-bin tor-browser-bundle-bin
urlview urlview
@ -91,9 +91,9 @@
hsetroot hsetroot
networkmanagerapplet networkmanagerapplet
notify-desktop notify-desktop
#pa_applet
sxhkd sxhkd
trayer trayer
volumeicon
xbanish xbanish
xdg-utils xdg-utils
xdo xdo