updates for hyprland
This commit is contained in:
parent
8adb361b82
commit
7863e720c3
4 changed files with 213 additions and 176 deletions
18
scripts/ncsyncchk.sh
Executable file
18
scripts/ncsyncchk.sh
Executable file
|
@ -0,0 +1,18 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
folders=( 0 1 2 3 4 5 6 )
|
||||
|
||||
# while [ 1 ];
|
||||
# do
|
||||
echo "" > /tmp/ncsync
|
||||
syncing=$(cat /tmp/ncsync)
|
||||
for folder in ${folders[@]}
|
||||
do
|
||||
name=$(qdbus com.nextcloudgmbh.Nextcloud /com/nextcloudgmbh/Nextcloud/Folder/$folder org.freedesktop.CloudProviders.Account.Name)
|
||||
fullstatus=$(qdbus com.nextcloudgmbh.Nextcloud /com/nextcloudgmbh/Nextcloud/Folder/$folder org.freedesktop.CloudProviders.Account.StatusDetails)
|
||||
status=$(echo $fullstatus | awk '{print $3}' | sed 's/,//')
|
||||
echo $name - $fullstatus >> /tmp/ncsync
|
||||
done
|
||||
# sleep 3
|
||||
# done
|
||||
|
14
scripts/ncsyncmon
Executable file
14
scripts/ncsyncmon
Executable file
|
@ -0,0 +1,14 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
while [ 1 ];
|
||||
do
|
||||
./ncsyncchk.sh
|
||||
ncsync=$(cat /tmp/ncsync)
|
||||
if rg -q "Syncing" /tmp/ncsync
|
||||
then
|
||||
echo true
|
||||
else
|
||||
echo false
|
||||
fi
|
||||
sleep 10
|
||||
done
|
|
@ -1,9 +1,12 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
list_windows() (
|
||||
wlrctl window list
|
||||
)
|
||||
window=$(wlrctl window list | rofi -i -sync -dmenu -p " " -theme ~/.config/rofi/launchers-git/laptop-rbw-wayland.rasi)
|
||||
|
||||
window=$(wlrctl window list | rofi -i -sync -dmenu -p " " -theme ~/.config/rofi/launchers-git/laptop-rbw-wayland.rasi | awk '{print $1}' | sed 's/://')
|
||||
win=$(echo $window | awk '{print $1}' | sed 's/://')
|
||||
|
||||
wlrctl window focus $window
|
||||
if [ $win == "" ]
|
||||
then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
wlrctl window focus $win
|
||||
|
|
|
@ -10,17 +10,17 @@
|
|||
|
||||
home.file.".config/hypr/hyprland.conf" = {
|
||||
text = ''
|
||||
monitor=eDP-1,2256x1504@60,0x0,1.5
|
||||
workspace=eDP-1,1
|
||||
monitor=DVI-D-1,preferred,0x0,1
|
||||
monitor=HDMI-A-1,preferred,0x0,1
|
||||
monitor=DP-3,preferred,1080x0,1.5
|
||||
workspace=DVI-D-1,2
|
||||
workspace=DP-3,1
|
||||
workspace=HDMI-A-1,2
|
||||
monitor=DVI-D-1,transform,1
|
||||
monitor=eDP-1,2256x1504@60,0x0,1.5
|
||||
workspace=eDP-1,1
|
||||
monitor=DVI-D-1,preferred,0x0,1
|
||||
monitor=HDMI-A-1,preferred,0x0,1
|
||||
monitor=DP-3,preferred,1080x0,1.5
|
||||
workspace=DVI-D-1,2
|
||||
workspace=DP-3,1
|
||||
workspace=HDMI-A-1,2
|
||||
monitor=DVI-D-1,transform,1
|
||||
|
||||
input {
|
||||
input {
|
||||
# kb_layout=
|
||||
# kb_variant=
|
||||
# kb_model=
|
||||
|
@ -38,9 +38,9 @@ input {
|
|||
natural_scroll=1
|
||||
clickfinger_behavior=1
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
general {
|
||||
general {
|
||||
max_fps=60 # deprecated, unused
|
||||
# main_mod=SUPER
|
||||
|
||||
|
@ -52,14 +52,14 @@ general {
|
|||
|
||||
#damage_tracking=full # leave it on full unless you hate your GPU and want to make it suffer
|
||||
layout=master
|
||||
}
|
||||
}
|
||||
|
||||
gestures {
|
||||
gestures {
|
||||
workspace_swipe=true
|
||||
workspace_swipe_fingers=3
|
||||
}
|
||||
}
|
||||
|
||||
decoration {
|
||||
decoration {
|
||||
rounding=18
|
||||
active_opacity=0.95
|
||||
inactive_opacity=0.85
|
||||
|
@ -72,142 +72,144 @@ decoration {
|
|||
# if you want heavy blur, you need to up the blur_passes.
|
||||
# the more passes, the more you can up the blur_size without noticing artifacts.
|
||||
drop_shadow=true
|
||||
shadow_range=20
|
||||
shadow_range=50
|
||||
shadow_offset=2 2
|
||||
shadow_render_power=1
|
||||
shadow_render_power=3
|
||||
col.shadow = rgba(000000ee)
|
||||
dim_inactive=true
|
||||
dim_strength=0.2
|
||||
}
|
||||
}
|
||||
|
||||
bezier=snapslide,0.07,0.66,0.04,1.02
|
||||
bezier=snapslide,0.07,0.66,0.04,1.02
|
||||
|
||||
animations {
|
||||
animations {
|
||||
enabled=1
|
||||
animation=windows,1,2,snapslide
|
||||
# animation=borders,1,10,default
|
||||
animation=fadeIn,1,2,snapslide
|
||||
animation=workspaces,1,2,snapslide
|
||||
animation=specialWorkspace,1,2,snapslide,slidevert
|
||||
}
|
||||
}
|
||||
|
||||
dwindle {
|
||||
dwindle {
|
||||
pseudotile=0 # enable pseudotiling on dwindle
|
||||
}
|
||||
}
|
||||
|
||||
master {
|
||||
master {
|
||||
special_scale_factor=0.7
|
||||
new_is_master=false
|
||||
new_on_top=false
|
||||
}
|
||||
}
|
||||
|
||||
# misc:disable_autoreload = true
|
||||
# misc:disable_autoreload = true
|
||||
|
||||
# example window rules
|
||||
# for windows named/classed as abc and xyz
|
||||
windowrule=opaque,firefox
|
||||
windowrule=float,dolphin
|
||||
${if builtins.readFile "/etc/hostname" == "syl\n" then "# this is a kaladin space" else "windowrule=workspace 1,mpv"}
|
||||
windowrule=float,mpv
|
||||
${if builtins.readFile "/etc/hostname" == "syl\n" then "windowrule=size 90% 76%,mpv" else "windowrule=size 85% 85%,mpv"}
|
||||
windowrule=center,mpv
|
||||
windowrule=float,pulsemixer
|
||||
windowrule=workspace 1,firefox
|
||||
windowrule=workspace 2,emacs
|
||||
windowrule=float,btop
|
||||
windowrule=size 70% 70%,btop
|
||||
windowrule=center,btop
|
||||
windowrule=float,presenter
|
||||
windowrule=size 80% 80%,presenter
|
||||
windowrule=center,presenter
|
||||
# example window rules
|
||||
# for windows named/classed as abc and xyz
|
||||
windowrule=opaque,firefox
|
||||
windowrule=float,dolphin
|
||||
${if builtins.readFile "/etc/hostname" == "syl\n" then "# this is a kaladin space" else "windowrule=workspace 1,mpv"}
|
||||
windowrule=float,mpv
|
||||
${if builtins.readFile "/etc/hostname" == "syl\n" then "windowrule=size 90% 76%,mpv" else "windowrule=size 85% 85%,mpv"}
|
||||
windowrule=center,mpv
|
||||
windowrule=pin,mpv
|
||||
windowrule=float,pulsemixer
|
||||
windowrule=workspace 1,firefox
|
||||
windowrule=workspace 2,emacs
|
||||
windowrule=float,btop
|
||||
windowrule=size 70% 70%,btop
|
||||
windowrule=center,btop
|
||||
windowrule=float,presenter
|
||||
windowrule=size 80% 80%,presenter
|
||||
windowrule=center,presenter
|
||||
|
||||
# example binds
|
||||
bind = SUPER,RETURN,exec,alacritty
|
||||
bind = SUPER,C,killactive,
|
||||
bind = SUPERSHIFT,Q,exit,
|
||||
bind = SUPERSHIFT,D,exec,dolphin
|
||||
bind = SUPERSHIFT,F,togglefloating,
|
||||
bindr = SUPER,Super_L,exec,/home/chris/bin/launcher.sh
|
||||
bindr = ALT,Alt_L,exec,/home/chris/bin/window.sh
|
||||
bind = SUPER,w,exec,/home/chris/bin/window.sh
|
||||
bind = SUPER,E,exec,/home/chris/bin/emacslof
|
||||
bind = SUPER,d,exec,emacsclient -c -e '(dired-jump)'
|
||||
bind = SUPER,B,exec,/home/chris/bin/fflof
|
||||
bind = SUPER,A,exec,alacritty --class pulsemixer -e pulsemixer
|
||||
bind = SUPERCTRL,i,exec,alacritty --class btop -e btop
|
||||
# example binds
|
||||
bind = SUPER,RETURN,exec,alacritty
|
||||
bind = SUPER,C,killactive,
|
||||
bind = SUPERSHIFT,Q,exit,
|
||||
bind = SUPERSHIFT,D,exec,dolphin
|
||||
bind = SUPERSHIFT,F,togglefloating,
|
||||
bindr = SUPER,Super_L,exec,/home/chris/bin/launcher.sh
|
||||
# bindr = ALT,Alt_L,exec,/home/chris/bin/window.sh
|
||||
bind = SUPER,w,exec,/home/chris/bin/window.sh
|
||||
bind = SUPER,E,exec,/home/chris/bin/emacslof
|
||||
bind = SUPER,d,exec,emacsclient -c -e '(dired-jump)'
|
||||
bind = SUPER,B,exec,/home/chris/bin/fflof
|
||||
bind = SUPER,A,exec,alacritty --class pulsemixer -e pulsemixer
|
||||
bind = SUPERCTRL,i,exec,alacritty --class btop -e btop
|
||||
|
||||
bind = SUPER,P,exec,/home/chris/bin/rbw.sh
|
||||
bind = SUPER,M,fullscreen,1
|
||||
bind = SUPER,F,fullscreen,0
|
||||
bind = SUPER,P,exec,/home/chris/bin/rbw.sh
|
||||
bind = SUPER,M,fullscreen,1
|
||||
bind = SUPER,F,fullscreen,0
|
||||
|
||||
bind = SUPER,h,movefocus,l
|
||||
bind = SUPER,l,movefocus,r
|
||||
bind = SUPER,k,cyclenext,prev
|
||||
bind = SUPER,j,cyclenext
|
||||
bind = SUPERSHIFT,h,movewindow,l
|
||||
bind = SUPERSHIFT,l,movewindow,r
|
||||
bind = SUPERSHIFT,k,movewindow,u
|
||||
bind = SUPERSHIFT,j,movewindow,d
|
||||
bind = SUPERCTRL,l,splitratio,+0.05
|
||||
bind = SUPERCTRL,h,splitratio,-0.05
|
||||
bind = SUPERCTRL,c,centerwindow
|
||||
bind = SUPER,h,movefocus,l
|
||||
bind = SUPER,l,movefocus,r
|
||||
bind = SUPER,k,cyclenext,prev
|
||||
bind = SUPER,j,cyclenext
|
||||
bind = SUPERSHIFT,h,movewindow,l
|
||||
bind = SUPERSHIFT,l,movewindow,r
|
||||
bind = SUPERSHIFT,k,movewindow,u
|
||||
bind = SUPERSHIFT,j,movewindow,d
|
||||
bind = SUPERCTRL,l,splitratio,+0.05
|
||||
bind = SUPERCTRL,h,splitratio,-0.05
|
||||
bind = SUPERCTRL,c,centerwindow
|
||||
|
||||
bind = SUPER,1,workspace,1
|
||||
bind = SUPER,2,workspace,2
|
||||
bind = SUPER,3,workspace,3
|
||||
bind = SUPER,4,workspace,4
|
||||
bind = SUPER,5,workspace,5
|
||||
bind = SUPER,6,workspace,6
|
||||
bind = SUPER,7,workspace,7
|
||||
bind = SUPER,8,workspace,8
|
||||
bind = SUPER,9,workspace,9
|
||||
bind = SUPER,0,workspace,10
|
||||
bind = SUPER,1,workspace,1
|
||||
bind = SUPER,2,workspace,2
|
||||
bind = SUPER,3,workspace,3
|
||||
bind = SUPER,4,workspace,4
|
||||
bind = SUPER,5,workspace,5
|
||||
bind = SUPER,6,workspace,6
|
||||
bind = SUPER,7,workspace,7
|
||||
bind = SUPER,8,workspace,8
|
||||
bind = SUPER,9,workspace,9
|
||||
bind = SUPER,0,workspace,10
|
||||
|
||||
bind = SUPERALT,l,workspace,m+1
|
||||
bind = SUPERALT,h,workspace,m-1
|
||||
bind = SUPERALT,l,workspace,m+1
|
||||
bind = SUPERALT,h,workspace,m-1
|
||||
|
||||
bind = SUPERSHIFT,1,movetoworkspace,1
|
||||
bind = SUPERSHIFT,2,movetoworkspace,2
|
||||
bind = SUPERSHIFT,3,movetoworkspace,3
|
||||
bind = SUPERSHIFT,4,movetoworkspace,4
|
||||
bind = SUPERSHIFT,5,movetoworkspace,5
|
||||
bind = SUPERSHIFT,6,movetoworkspace,6
|
||||
bind = SUPERSHIFT,7,movetoworkspace,7
|
||||
bind = SUPERSHIFT,8,movetoworkspace,8
|
||||
bind = SUPERSHIFT,9,movetoworkspace,9
|
||||
bind = SUPERSHIFT,0,movetoworkspace,10
|
||||
bind = SUPERSHIFT,1,movetoworkspace,1
|
||||
bind = SUPERSHIFT,2,movetoworkspace,2
|
||||
bind = SUPERSHIFT,3,movetoworkspace,3
|
||||
bind = SUPERSHIFT,4,movetoworkspace,4
|
||||
bind = SUPERSHIFT,5,movetoworkspace,5
|
||||
bind = SUPERSHIFT,6,movetoworkspace,6
|
||||
bind = SUPERSHIFT,7,movetoworkspace,7
|
||||
bind = SUPERSHIFT,8,movetoworkspace,8
|
||||
bind = SUPERSHIFT,9,movetoworkspace,9
|
||||
bind = SUPERSHIFT,0,movetoworkspace,10
|
||||
|
||||
bind = SUPER,o,movewindow,mon: next
|
||||
bind = SUPER,y,togglespecialworkspace
|
||||
bind = SUPER,i,movewindow,left
|
||||
bind = SUPERSHIFT,p,pin
|
||||
bind = SUPER,n,movetoworkspace,special
|
||||
bind = SUPER,o,movewindow,mon: next
|
||||
bind = SUPER,y,togglespecialworkspace
|
||||
bind = SUPER,i,movewindow,left
|
||||
bind = SUPERSHIFT,p,pin
|
||||
bind = SUPER,n,movetoworkspace,special
|
||||
|
||||
binde = , XF86AudioMute, exec, pamixer -t
|
||||
binde = , XF86AudioRaiseVolume, exec, /home/chris/bin/volup
|
||||
binde = , XF86AudioLowerVolume, exec, /home/chris/bin/voldown
|
||||
binde = ,F1, exec, pamixer -t
|
||||
binde = ,F3, exec, /home/chris/bin/volup
|
||||
binde = ,F2, exec, /home/chris/bin/voldown
|
||||
binde = , XF86MonBrightnessUp, exec, brightnessctl s +10%
|
||||
binde = , XF86MonBrightnessDown, exec, brightnessctl s 10%-
|
||||
binde = , XF86AudioMute, exec, pamixer -t
|
||||
binde = , XF86AudioRaiseVolume, exec, /home/chris/bin/volup
|
||||
binde = , XF86AudioLowerVolume, exec, /home/chris/bin/voldown
|
||||
binde = ,F1, exec, pamixer -t
|
||||
binde = ,F3, exec, /home/chris/bin/volup
|
||||
binde = ,F2, exec, /home/chris/bin/voldown
|
||||
binde = , XF86MonBrightnessUp, exec, brightnessctl s +10%
|
||||
binde = , XF86MonBrightnessDown, exec, brightnessctl s 10%-
|
||||
|
||||
bind=SUPERCTRL,b,exec,eww.sh
|
||||
bind=SUPERALT,n,exec,eww update rightside=true
|
||||
bind=SUPERCTRL,b,exec,eww.sh
|
||||
bind=SUPERALT,n,exec,eww update rightside=true
|
||||
|
||||
bindm=SUPER,mouse:272,movewindow
|
||||
bindm=SUPER,mouse:273,resizewindow
|
||||
bindm=SUPER,mouse:272,movewindow
|
||||
bindm=SUPER,mouse:273,resizewindow
|
||||
|
||||
# Blur waybar
|
||||
# blurls=gtk-layer-shell
|
||||
# blurls=notifications
|
||||
# Blur waybar
|
||||
# blurls=gtk-layer-shell
|
||||
# blurls=notifications
|
||||
|
||||
exec-once = /home/chris/bin/startup.sh
|
||||
exec-once = hyprpaper
|
||||
exec-once = dunst
|
||||
exec-once = hyprctl dispatch --batch "splitratio 1; splitration -0.35"
|
||||
exec-once = dbus-update-activation-environment --systemd --all
|
||||
exec-once = jellyfin-mpv-shim
|
||||
exec-once = hyprctl setcursor phinger-cursors-light
|
||||
exec-once = /home/chris/bin/startup.sh
|
||||
exec-once = hyprpaper
|
||||
exec-once = dunst
|
||||
exec-once = hyprctl dispatch --batch "splitratio 1; splitration -0.35"
|
||||
exec-once = dbus-update-activation-environment --systemd --all
|
||||
exec-once = jellyfin-mpv-shim
|
||||
exec-once = hyprctl setcursor phinger-cursors-light
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue