Moved cron service to all configurations, added goeland, and testing volume control with sxhkd
This commit is contained in:
parent
8f7755826f
commit
97c902ecc8
@ -122,18 +122,7 @@
|
||||
setw -g window-status-format "[#I:#W#F]"
|
||||
'';
|
||||
plugins = with pkgs; [
|
||||
tmuxPlugins.cpu
|
||||
{
|
||||
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
|
||||
'';
|
||||
}
|
||||
tmuxPlugins.urlview
|
||||
];
|
||||
prefix = "C-b";
|
||||
};
|
||||
|
@ -26,9 +26,6 @@ bspc rule -a "*:Toolkit:Picture-in-Picture" \
|
||||
rectangle=640x360+1920+1080
|
||||
bspc rule -a discord:discord: 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 librewolf:Navigator: desktop='0'
|
||||
bspc rule -a trayer:panel: border=off manage=off
|
||||
bspc rule -a xdragon:Xdragon state=floating sticky=on
|
||||
|
@ -19,7 +19,7 @@ cmd open ${{
|
||||
text/*|application/json) $EDITOR "$f";;
|
||||
application/pdf) mupdf "$f";;
|
||||
application/vnd.openxmlformats-officedocument.wordprocessingml.document) onlyoffice-desktopeditors "$f";;
|
||||
image/*) sxiv "$f";;
|
||||
image/*) feh "$f";;
|
||||
video/*) mpv "$f";;
|
||||
*) xdg-open "$f" ;;
|
||||
esac
|
||||
|
@ -22,6 +22,12 @@ super + shift + s
|
||||
super + v
|
||||
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:
|
||||
super + shift + r
|
||||
pkill -USR1 -x sxhkd; notify-desktop "sxhkd config reloaded"
|
||||
|
@ -10,7 +10,7 @@ dunst &
|
||||
clipmenud &
|
||||
trayer --edge bottom --align right --margin 0 --widthtype request --SetDockType true --transparent true --alpha 255 &
|
||||
nm-applet &
|
||||
volumeicon &
|
||||
#pa-applet &
|
||||
mullvad-gui &
|
||||
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 &
|
||||
|
@ -125,18 +125,6 @@
|
||||
};
|
||||
};
|
||||
};
|
||||
librewolf = {
|
||||
enable = true;
|
||||
#settings = {
|
||||
#};
|
||||
};
|
||||
mpv = {
|
||||
enable = true;
|
||||
#bindings = {
|
||||
#};
|
||||
#config = {
|
||||
#};
|
||||
};
|
||||
};
|
||||
#home.packages = with pkgs; [
|
||||
# (dmenu.overrideAttrs (oldAttrs: rec {
|
||||
|
@ -41,8 +41,8 @@ in
|
||||
users.users.${user.name} = {
|
||||
extraGroups = [ "libvirtd" "transmission" "davfs2" ];
|
||||
packages = [
|
||||
pkgs.go
|
||||
pkgs.rss2email
|
||||
pkgs.goeland
|
||||
];
|
||||
};
|
||||
services = {
|
||||
|
@ -37,10 +37,13 @@
|
||||
};
|
||||
|
||||
services = {
|
||||
cron.systemCronJobs = [
|
||||
# Clean logs older than 2d
|
||||
"0 20 * * * root journalctl --vacuum-time=2d"
|
||||
];
|
||||
cron = {
|
||||
enable = true;
|
||||
systemCronJobs = [
|
||||
# Clean logs older than 2d
|
||||
"0 20 * * * root journalctl --vacuum-time=2d"
|
||||
];
|
||||
};
|
||||
openssh = {
|
||||
enable = true;
|
||||
settings = {
|
||||
|
@ -13,7 +13,7 @@
|
||||
enable = true;
|
||||
defaultApplications = {
|
||||
"image/*" = [
|
||||
"sxiv.desktop"
|
||||
"feh.desktop"
|
||||
];
|
||||
};
|
||||
};
|
||||
@ -69,6 +69,7 @@
|
||||
ani-cli
|
||||
bashmount
|
||||
discord
|
||||
feh
|
||||
glib
|
||||
lagrange
|
||||
libreoffice
|
||||
@ -80,7 +81,6 @@
|
||||
scrot
|
||||
signal-desktop
|
||||
surf
|
||||
sxiv
|
||||
tabbed
|
||||
tor-browser-bundle-bin
|
||||
urlview
|
||||
@ -91,9 +91,9 @@
|
||||
hsetroot
|
||||
networkmanagerapplet
|
||||
notify-desktop
|
||||
#pa_applet
|
||||
sxhkd
|
||||
trayer
|
||||
volumeicon
|
||||
xbanish
|
||||
xdg-utils
|
||||
xdo
|
||||
|
Loading…
Reference in New Issue
Block a user