adding some tweaks
This commit is contained in:
parent
df59b31474
commit
261e587384
|
@ -138,7 +138,7 @@ 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,v,exec,emacsclient -e '(chris/dired-open-videos)'
|
||||
bind = SUPER,B,exec,/home/chris/bin/nyxtlof
|
||||
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 = ,Print,exec,screenshot
|
||||
|
|
5
guix/home-services/hyprland.scm
Normal file
5
guix/home-services/hyprland.scm
Normal file
|
@ -0,0 +1,5 @@
|
|||
(define-module (hyprland)
|
||||
#:use-module (ice-9 popen)
|
||||
#:use-module (ice-9 rdelim))
|
||||
|
||||
(read-line)
|
|
@ -57,6 +57,7 @@
|
|||
"btop"
|
||||
"htop"
|
||||
"ripgrep"
|
||||
"jq"
|
||||
"bat"
|
||||
"dutree"
|
||||
"alacritty"
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
(define-module (zola)
|
||||
#:use-module (gnu packages)
|
||||
#:use-module (gnu packages base)
|
||||
#:use-module (gnu packages crates-io)
|
||||
#:use-module (gnu packages compression)
|
||||
#:use-module (gnu services)
|
||||
#:use-module (guix utils)
|
||||
|
@ -25,7 +26,21 @@
|
|||
(base32
|
||||
"1x9xdrp6j9n6nlj3xvv5b71vl08yizq16cm4dv9zkd9pm6w6szxa"))))
|
||||
(build-system cargo-build-system)
|
||||
(native-inputs (list tar bzip2))
|
||||
(native-inputs (list tar
|
||||
bzip2
|
||||
rust-serde-1
|
||||
rust-anyhow-1
|
||||
rust-ahash-0.8
|
||||
rust-clap-4
|
||||
rust-hyper-tls-0.5
|
||||
rust-tokio-fs-0.1
|
||||
rust-time-0.3
|
||||
rust-notify-4
|
||||
rust-ctrlc-3
|
||||
rust-open-2
|
||||
rust-pathdiff-0.2
|
||||
rust-mime-0.3
|
||||
rust-mime-guess-2))
|
||||
;; (arguments
|
||||
;; )
|
||||
(home-page "https://github.com/phisch/phinger-cursors")
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
# Check to see if an kdenlive is running
|
||||
if [ $(pgrep -c kdenlive) -gt 0 ]; then
|
||||
|
||||
if [ $XDG_SESSION_TYPE = "x11" ]; then
|
||||
if [ "$XDG_SESSION_TYPE" = "x11" ]; then
|
||||
#X11
|
||||
kdenliverg=$(wmctrl -lx | rg kdenlive.kdenlive | rg -v org-agenda | awk '{print $1}')
|
||||
# echo $kdenliverg
|
||||
|
@ -16,17 +16,17 @@ if [ $(pgrep -c kdenlive) -gt 0 ]; then
|
|||
exit
|
||||
fi
|
||||
else
|
||||
if [ $KDE_FULL_SESSION = "true" ]; then
|
||||
if [ "$KDE_FULL_SESSION" = "true" ]; then
|
||||
exec /home/chris/bin/ww -fa Kdenlive -c kdenlive
|
||||
exit
|
||||
else
|
||||
# WAYLAND
|
||||
kdenliverg=$(wlrctl window list | rg -v 'kdenlive:\sorg-agenda' | rg 'kdenlive:')
|
||||
# kdenliverg=$(wlrctl window list | rg -v 'kdenlive:\sorg-agenda' | rg 'kdenlive:')
|
||||
|
||||
kdenlivewin=$(echo $kdenliverg | sed 's/.*\: //')
|
||||
# kdenlivewin=$(echo $kdenliverg | sed 's/.*\: //')
|
||||
# echo $kdenlivewin
|
||||
|
||||
exec wlrctl toplevel focus title:"$kdenlivewin"
|
||||
exec hyprctl dispatch focuswindow kdenlive
|
||||
exit
|
||||
fi
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue