switched to uwsm
This commit is contained in:
@@ -37,7 +37,7 @@ monitor= DP-3, 2560x1440@74.97,0x-1440,1
|
|||||||
# Set programs that you use
|
# Set programs that you use
|
||||||
$terminal = kitty
|
$terminal = kitty
|
||||||
$fileManager = dolphin
|
$fileManager = dolphin
|
||||||
$menu = rofi -show run
|
$menu = rofi -show run -run-command "uwsm app -- {cmd}" -show-icons
|
||||||
|
|
||||||
|
|
||||||
#################
|
#################
|
||||||
@@ -50,12 +50,11 @@ $menu = rofi -show run
|
|||||||
# exec-once = $terminal
|
# exec-once = $terminal
|
||||||
# exec-once = nm-applet &
|
# exec-once = nm-applet &
|
||||||
# exec-once = waybar & hyprpaper & firefox
|
# exec-once = waybar & hyprpaper & firefox
|
||||||
exec-once = waybar
|
#exec-once = ~/wallpaper/script.sh
|
||||||
exec-once = dunst
|
exec-once = uwsm app -- dunst
|
||||||
exec-once = hypridle
|
#exec-once = uwsm app -- systemctl --user start hyprpolkitagent
|
||||||
exec-once = systemctl --user start hyprpolkitagent
|
exec-once = uwsm app -- syncthing
|
||||||
exec-once = syncthing
|
exec-once = uwsm app -- keepassxc
|
||||||
exec-once = keepassxc
|
|
||||||
#exec-once = nwg-dock-hyprland -x -mb 10 -mt -10
|
#exec-once = nwg-dock-hyprland -x -mb 10 -mt -10
|
||||||
#############################
|
#############################
|
||||||
### ENVIRONMENT VARIABLES ###
|
### ENVIRONMENT VARIABLES ###
|
||||||
@@ -200,7 +199,7 @@ master {
|
|||||||
# https://wiki.hyprland.org/Configuring/Variables/#misc
|
# https://wiki.hyprland.org/Configuring/Variables/#misc
|
||||||
misc {
|
misc {
|
||||||
force_default_wallpaper = 2 # Set to 0 or 1 to disable the anime mascot wallpapers
|
force_default_wallpaper = 2 # Set to 0 or 1 to disable the anime mascot wallpapers
|
||||||
disable_hyprland_logo = false # If true disables the random hyprland logo / anime girl background. :(
|
disable_hyprland_logo = true # If true disables the random hyprland logo / anime girl background. :(
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -263,17 +262,17 @@ $mainMod = SUPER # Sets "Windows" key as main modifier
|
|||||||
#bind = $mainMod, W,exec, rofi -show run
|
#bind = $mainMod, W,exec, rofi -show run
|
||||||
|
|
||||||
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
|
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
|
||||||
bind = $mainMod, Q, exec, $terminal
|
bind = $mainMod, Q, exec, uwsm app -- $terminal
|
||||||
bind = $mainMod, C, killactive,
|
bind = $mainMod, C, killactive,
|
||||||
bind = $mainMod, M, exit,
|
bind = $mainMod, M, exec, uwsm stop
|
||||||
bind = $mainMod, E, exec, $fileManager
|
bind = $mainMod, E, exec, uwsm app -- $fileManager
|
||||||
bind = $mainMod, V, togglefloating,
|
bind = $mainMod, V, togglefloating,
|
||||||
bind = $mainMod, R, exec, $menu
|
bind = $mainMod, R, exec, uwsm app -- $menu
|
||||||
bind = $mainMod, P, pseudo, # dwindle
|
bind = $mainMod, P, pseudo, # dwindle
|
||||||
bind = $mainMod, J, togglesplit, # dwindle
|
bind = $mainMod, J, togglesplit, # dwindle
|
||||||
#bind = $mainMod, L, exec, hyprlock & sleep 1 ; systemctl suspend
|
#bind = $mainMod, L, exec, hyprlock & sleep 1 ; systemctl suspend
|
||||||
#bind = $mainMod, L, exec, hyprlock
|
#bind = $mainMod, L, exec, hyprlock
|
||||||
bind = $mainMod, L, exec, swaylock
|
bind = $mainMod, L, exec, uwsm app -- swaylock
|
||||||
# Move focus with mainMod + arrow keys
|
# Move focus with mainMod + arrow keys
|
||||||
bind = $mainMod, left, movefocus, l
|
bind = $mainMod, left, movefocus, l
|
||||||
bind = $mainMod, right, movefocus, r
|
bind = $mainMod, right, movefocus, r
|
||||||
|
|||||||
@@ -0,0 +1 @@
|
|||||||
|
/usr/lib/systemd/user/hypridle.service
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
/home/amy/.config/systemd/user/wallpaper.service
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
/usr/lib/systemd/user/waybar.service
|
||||||
15
.config/systemd/user/keepassxc.service
Normal file
15
.config/systemd/user/keepassxc.service
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=Fast, IPC-controlled wallpaper utility for Hyprland.
|
||||||
|
Documentation=https://wiki.hyprland.org/Hypr-Ecosystem/hyprpaper/
|
||||||
|
PartOf=graphical-session.target
|
||||||
|
Requires=waybar.service
|
||||||
|
ConditionEnvironment=WAYLAND_DISPLAY
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=simple
|
||||||
|
ExecStart=/usr/bin/keepassxc
|
||||||
|
Slice=session.slice
|
||||||
|
Restart=on-failure
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=graphical-session.target
|
||||||
@@ -1,6 +1,14 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=Time based wallpaper switcher
|
Description=Time based wallpaper switcher
|
||||||
|
PartOf=graphical-session.target
|
||||||
|
Requires=graphical-session.target
|
||||||
|
After=graphical-session.target
|
||||||
|
ConditionEnvironment=WAYLAND_DISPLAY
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=simple
|
Type=simple
|
||||||
ExecStart=%h/wallpaper/script.sh
|
ExecStart=%h/wallpaper/script.sh
|
||||||
|
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=graphical-session.target
|
||||||
|
|||||||
@@ -1,8 +1,10 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=Run foo weekly and on boot
|
Description=Run foo weekly and on boot
|
||||||
|
Requires=graphical-session.target
|
||||||
|
|
||||||
[Timer]
|
[Timer]
|
||||||
OnCalendar=minutely
|
OnCalendar=hourly
|
||||||
Persistent=false
|
Persistent=true
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=timers.target
|
WantedBy=graphical-session.target
|
||||||
|
|||||||
@@ -1,15 +1,20 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
pidof hyprpaper || hyprctl dispatch exec hyprpaper
|
||||||
PATHNAME=~/wallpaper/
|
PATHNAME=~/wallpaper/
|
||||||
cd $PATHNAME
|
cd $PATHNAME
|
||||||
printf -v date "%(%H)T"
|
printf -v date "%(%H)T"
|
||||||
|
|
||||||
|
until pid=$(hyprctl hyprpaper listloaded)
|
||||||
|
do
|
||||||
|
sleep 1
|
||||||
|
done
|
||||||
|
|
||||||
LAST=-1
|
LAST=-1
|
||||||
FOUND=-1
|
FOUND=-1
|
||||||
for filename in $(ls *.png | sort -g)
|
for filename in $(ls *.{jpg,JPG,png,PNG} | sort -g)
|
||||||
do
|
do
|
||||||
if ((${filename%%.*} >= date && ${FOUND%%.*} == -1));then
|
if ((${filename%%.*} > date && ${FOUND%%.*} == -1));then
|
||||||
echo ${FOUND%%.*}
|
#echo ${FOUND%%.*}
|
||||||
FOUND=$LAST
|
FOUND=$LAST
|
||||||
if ((${FOUND%%.*}==-1));then
|
if ((${FOUND%%.*}==-1));then
|
||||||
FOUND=-2
|
FOUND=-2
|
||||||
|
|||||||
Reference in New Issue
Block a user