mirror of
https://github.com/librephoenix/nixos-config
synced 2025-01-18 22:55:52 +05:30
Compare commits
4 commits
3d5fe7cd54
...
53ccc5921f
Author | SHA1 | Date | |
---|---|---|---|
53ccc5921f | |||
2fb2c23851 | |||
8823f8b1c9 | |||
b60bc98e3a |
|
@ -7,15 +7,15 @@
|
|||
|
||||
# xmonad
|
||||
pgrep xmobar &> /dev/null && echo "Killing old xmobar instances" && echo "Running killall xmobar" && killall xmobar &> /dev/null; # xmonad will restart xmobar
|
||||
pgrep xmonad &> /dev/null && echo "Recompiling xmonad" && echo "Running xmonad --recompile && xmonad --restart" && xmonad --recompile && xmonad --restart;
|
||||
pgrep xmonad &> /dev/null && echo "Recompiling xmonad" && echo "Running xmonad --recompile && xmonad --restart" && xmonad --recompile &> /dev/null && xmonad --restart &> /dev/null;
|
||||
pgrep .dunst-wrapped &> /dev/null && echo "Restarting dunst" && killall .dunst-wrapped && echo "Running dunst" && dunst &> /dev/null & disown;
|
||||
pgrep xmonad &> /dev/null && echo "Reapplying background from stylix via feh" && echo "Running ~/.fehbg-stylix" && ~/.fehbg-stylix & disown;
|
||||
pgrep xmonad &> /dev/null && echo "Reapplying background from stylix via feh" && echo "Running ~/.fehbg-stylix" && ~/.fehbg-stylix &> /dev/null & disown;
|
||||
|
||||
# hyprland
|
||||
pgrep Hyprland &> /dev/null && echo "Reloading hyprland" && hyprctl reload
|
||||
pgrep .waybar-wrapped &> /dev/null && echo "Restarting waybar" && killall .waybar-wrapped && echo "Running waybar" && waybar &> /dev/null & disown;
|
||||
pgrep fnott &> /dev/null && echo "Restarting fnott" && killall fnott && echo "Running fnott" && fnott &> /dev/null & disown;
|
||||
pgrep Hyprland &> /dev/null && echo "Reapplying background from stylix via swaybg" && echo "Running ~/.swaybg-stylix" && ~/.swaybg-stylix & disown;
|
||||
pgrep Hyprland &> /dev/null && echo "Reapplying background from stylix via swaybg" && echo "Running ~/.swaybg-stylix" && ~/.swaybg-stylix &> /dev/null & disown;
|
||||
|
||||
# emacs
|
||||
pgrep emacs &> /dev/null && echo "Reloading emacs stylix theme" && echo "Running emacsclient --no-wait --eval \"(load-theme 'doom-stylix t nil)\"" && emacsclient --no-wait --eval "(load-theme 'doom-stylix t nil)";
|
||||
pgrep emacs &> /dev/null && echo "Reloading emacs stylix theme" && echo "Running emacsclient --no-wait --eval \"(load-theme 'doom-stylix t nil)\"" && emacsclient --no-wait --eval "(load-theme 'doom-stylix t nil)" &> /dev/null;
|
||||
|
|
|
@ -42,7 +42,7 @@
|
|||
exec-once = emacs --daemon
|
||||
|
||||
exec-once = hypridle
|
||||
#exec-once = hyprdim # currently broken :(
|
||||
exec-once = hyprdim -d 450 -s 0.25 -D 0.25 -p
|
||||
exec-once = obs-notification-mute-daemon
|
||||
|
||||
exec = ~/.swaybg-stylix
|
||||
|
@ -92,6 +92,8 @@
|
|||
bind=SUPER,TAB,exec,pypr expose
|
||||
bind=SUPER,V,exec,wl-copy $(wl-paste | tr '\n' ' ')
|
||||
bind=SUPERSHIFT,T,exec,screenshot-ocr
|
||||
bind=CTRLALT,Delete,exec,hyprctl kill
|
||||
bind=SUPERSHIFT,K,exec,hyprctl kill
|
||||
|
||||
bind = SUPER,R,pass,^(com\.obsproject\.Studio)$
|
||||
bind = SUPERSHIFT,R,pass,^(com\.obsproject\.Studio)$
|
||||
|
@ -178,7 +180,8 @@
|
|||
|
||||
bind=SUPER,Z,exec,pypr toggle term && hyprctl dispatch bringactivetotop
|
||||
bind=SUPER,F,exec,pypr toggle ranger && hyprctl dispatch bringactivetotop
|
||||
bind=SUPER,N,exec,pypr toggle musikcube && hyprctl dispatch bringactivetotop
|
||||
bind=SUPER,N,exec,pypr toggle numbat && hyprctl dispatch bringactivetotop
|
||||
bind=SUPER,M,exec,pypr toggle musikcube && hyprctl dispatch bringactivetotop
|
||||
bind=SUPER,B,exec,pypr toggle btm && hyprctl dispatch bringactivetotop
|
||||
bind=SUPER,code:172,exec,pypr toggle pavucontrol && hyprctl dispatch bringactivetotop
|
||||
$scratchpadsize = size 80% 85%
|
||||
|
@ -189,6 +192,11 @@
|
|||
windowrulev2 = workspace special silent,$scratchpad
|
||||
windowrulev2 = center,$scratchpad
|
||||
|
||||
$savetodisk = title:^(Save to Disk)$
|
||||
windowrulev2 = float,$savetodisk
|
||||
windowrulev2 = size 70% 75%,$savetodisk
|
||||
windowrulev2 = center,$savetodisk
|
||||
|
||||
$pavucontrol = class:^(pavucontrol)$
|
||||
windowrulev2 = float,$pavucontrol
|
||||
windowrulev2 = size 86% 40%,$pavucontrol
|
||||
|
@ -202,8 +210,6 @@
|
|||
windowrulev2 = move 18% 25%,$miniframe
|
||||
windowrulev2 = animation popin 1 20,$miniframe
|
||||
|
||||
windowrulev2 = float,title:^(Kdenlive)$
|
||||
|
||||
windowrulev2 = float,class:^(pokefinder)$
|
||||
|
||||
windowrulev2 = opacity 0.80,title:ORUI
|
||||
|
@ -473,7 +479,7 @@
|
|||
label {
|
||||
monitor =
|
||||
text = $TIME
|
||||
color = rgba(200, 200, 200, 1.0)
|
||||
color = rgb(''+config.lib.stylix.colors.base07-rgb-r+'',''+config.lib.stylix.colors.base07-rgb-g+'', ''+config.lib.stylix.colors.base07-rgb-b+'')
|
||||
font_size = 20
|
||||
font_family = Intel One Mono
|
||||
rotate = 0 # degrees, counter-clockwise
|
||||
|
@ -497,6 +503,10 @@
|
|||
"command": "kitty --class scratchpad -e ranger",
|
||||
"margin": 50
|
||||
},
|
||||
"numbat": {
|
||||
"command": "alacritty --class scratchpad -e numbat",
|
||||
"margin": 50
|
||||
},
|
||||
"musikcube": {
|
||||
"command": "alacritty --class scratchpad -e musikcube",
|
||||
"margin": 50
|
||||
|
|
Loading…
Reference in a new issue