mirror of https://github.com/Flinner/dots.git
feat: more minor changes
This commit is contained in:
parent
06ca707028
commit
4bf7bb8cfa
|
@ -7,3 +7,4 @@ __pycache__
|
||||||
/hypr/.face
|
/hypr/.face
|
||||||
/emacs.mine/.config/emacs.mine/eln-cache/
|
/emacs.mine/.config/emacs.mine/eln-cache/
|
||||||
/emacs.mine/.config/emacs.mine/elpy/
|
/emacs.mine/.config/emacs.mine/elpy/
|
||||||
|
/haskell/.ghc/ghci_history
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
for m in $(polybar --list-monitors | cut -d":" -f1); do
|
||||||
|
MONITOR=$m ~/.config/polybar/launch.sh --hack &
|
||||||
|
done
|
||||||
|
|
|
@ -0,0 +1,20 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# TODO: Fix this!!
|
||||||
|
# chatgpted
|
||||||
|
# Get the current active window ID
|
||||||
|
current_window=$(hyprctl activewindow)
|
||||||
|
|
||||||
|
# Get the monitor of the current active window
|
||||||
|
current_monitor=$(hyprctl activewindow | grep -oP 'monitor: \K\d+')
|
||||||
|
|
||||||
|
# Get the last active window's ID on a different monitor
|
||||||
|
last_window=$(hyprctl monitors | grep -v $current_monitor | awk '{print $1}')
|
||||||
|
|
||||||
|
echo $last_window
|
||||||
|
|
||||||
|
# Switch focus to that window (if found)
|
||||||
|
if [ -n "$last_window" ]; then
|
||||||
|
hyprctl focuswindow $last_window
|
||||||
|
fi
|
||||||
|
|
|
@ -44,7 +44,7 @@ $mainMonitor=DP-1
|
||||||
|
|
||||||
# See https://wiki.hyprland.org/Configuring/Monitors/
|
# See https://wiki.hyprland.org/Configuring/Monitors/
|
||||||
# MAIN:
|
# MAIN:
|
||||||
monitor=$mainMonitor,highres,1920x395,1.25
|
monitor=$mainMonitor,highres,0x0,1.25
|
||||||
monitor = , highres, auto, 1
|
monitor = , highres, auto, 1
|
||||||
|
|
||||||
|
|
||||||
|
@ -69,6 +69,7 @@ $menu = rofi -show drun
|
||||||
|
|
||||||
exec-once = nm-applet & (sleep 3 && nextcloud --background ) & (sleep 3 && udiskie --tray ) &
|
exec-once = nm-applet & (sleep 3 && nextcloud --background ) & (sleep 3 && udiskie --tray ) &
|
||||||
exec-once = (sleep 3 && kdeconnect-indicator)
|
exec-once = (sleep 3 && kdeconnect-indicator)
|
||||||
|
exec-once = (sleep 3 && blueberry)
|
||||||
exec-once = waybar & hyprpaper
|
exec-once = waybar & hyprpaper
|
||||||
|
|
||||||
exec-once = [workspace 1 silent] firefox
|
exec-once = [workspace 1 silent] firefox
|
||||||
|
@ -269,6 +270,19 @@ device {
|
||||||
sensitivity = -0.5
|
sensitivity = -0.5
|
||||||
}
|
}
|
||||||
|
|
||||||
|
device {
|
||||||
|
name = bastard-keyboards-scylla-splinky
|
||||||
|
kb_options =
|
||||||
|
}
|
||||||
|
device {
|
||||||
|
name = bastard-keyboards-scylla-splinky-system-control, bastard-keyboards-scylla-splinky-consumer-control
|
||||||
|
kb_options =
|
||||||
|
}
|
||||||
|
device {
|
||||||
|
name = bastard-keyboards-scylla-splinky-consumer-control
|
||||||
|
kb_options =
|
||||||
|
}
|
||||||
|
|
||||||
binds {
|
binds {
|
||||||
# FIX: make hjkl not exit fullscreen ;)
|
# FIX: make hjkl not exit fullscreen ;)
|
||||||
movefocus_cycles_fullscreen = 0
|
movefocus_cycles_fullscreen = 0
|
||||||
|
@ -292,15 +306,21 @@ bind = $mainMod SHIFT, Q, killactive,
|
||||||
# bind = $mainMod, M, exit,
|
# bind = $mainMod, M, exit,
|
||||||
# bind = $mainMod, E, exec, $fileManager
|
# bind = $mainMod, E, exec, $fileManager
|
||||||
bind = $mainMod, E, exec, emacsclient -nc -alternate-editor="emacs"
|
bind = $mainMod, E, exec, emacsclient -nc -alternate-editor="emacs"
|
||||||
|
bind = $mainMod, bracketright, exec, ~/bin/rofi_bin_launcher.py
|
||||||
|
bind = $mainMod, bracketleft, exec, rofi -show calc
|
||||||
bind = $mainMod, R, exec, $menu
|
bind = $mainMod, R, exec, $menu
|
||||||
bind = $mainMod, V, exec, cliphist list | rofi -dmenu | cliphist decode | wl-copy
|
bind = $mainMod, V, exec, cliphist list | rofi -dmenu | cliphist decode | wl-copy
|
||||||
# bind = , Print, exec, grim -g "$(slurp -d)" - | wl-copy
|
# bind = , Print, exec, grim -g "$(slurp -d)" - | wl-copy
|
||||||
bind = SHIFT, Print, exec, env XDG_CURRENT_DESKTOP=sway XDG_SESSION_DESKTOP=sway QT_QPA_PLATFORM=wayland flameshot gui
|
bind = SHIFT, Print, exec, env XDG_CURRENT_DESKTOP=sway XDG_SESSION_DESKTOP=sway QT_QPA_PLATFORM=wayland flameshot gui
|
||||||
bind = , Print, exec, grim -g "$(slurp -o -r -c '##FF0000FF')" -t ppm - | satty --early-exit --initial-tool rectangle --copy-command wl-copy --annotation-size-factor 2 --fullscreen --filename -
|
bind = , Print, exec, grim -g "$(slurp -o -r -c '##FF0000FF')" -t ppm - | satty --early-exit --initial-tool rectangle --copy-command wl-copy --annotation-size-factor 2 --fullscreen --save-after-copy --output-filename "/tmp/test-%Y-%m-%d_%H:%M:%S.png" --filename -
|
||||||
|
|
||||||
|
# Toggle Bar
|
||||||
|
bind = $mainMod, b, exec, killall -SIGUSR1 waybar
|
||||||
|
|
||||||
# Lock
|
# Lock
|
||||||
bind = $mainMod, HOME, exec, hyprlock >> ~/hyprlock_logfile.txt
|
bind = $mainMod, HOME, exec, hyprlock >> ~/hyprlock_logfile.txt
|
||||||
|
|
||||||
|
|
||||||
# Between workspaces
|
# Between workspaces
|
||||||
bind = $mainMod, Tab, workspace, previous
|
bind = $mainMod, Tab, workspace, previous
|
||||||
|
|
||||||
|
@ -454,8 +474,8 @@ windowrulev2 = suppressevent maximize, class:.*
|
||||||
windowrulev2 = nofocus,class:^$,title:^$,xwayland:1,floating:1,fullscreen:0,pinned:0
|
windowrulev2 = nofocus,class:^$,title:^$,xwayland:1,floating:1,fullscreen:0,pinned:0
|
||||||
|
|
||||||
# Fix ueberzugpp
|
# Fix ueberzugpp
|
||||||
windowrulev2 = noanim, class:^(ueberzugpp)
|
windowrulev2 = noanim, class:^(ueberzugpp_.*)
|
||||||
windowrulev2 = workspace 4 silent, class:^(VGA_SIM)
|
#windowrulev2 = float, class:^(ueberzugpp_.*)
|
||||||
|
|
||||||
# Fix Matlab
|
# Fix Matlab
|
||||||
windowrulev2 = nofocus, class: ^(MATLAB [\w\d]* - academic use)$, title: ^(Command HistoryWindow)$
|
windowrulev2 = nofocus, class: ^(MATLAB [\w\d]* - academic use)$, title: ^(Command HistoryWindow)$
|
||||||
|
@ -489,7 +509,7 @@ windowrulev2 = move cursor -50% 25,title:(Prayers)
|
||||||
windowrulev2 = noanim, class:^(flameshot)$
|
windowrulev2 = noanim, class:^(flameshot)$
|
||||||
windowrulev2 = fullscreenstate, class:(flameshot), title:(flameshot)
|
windowrulev2 = fullscreenstate, class:(flameshot), title:(flameshot)
|
||||||
windowrulev2 = float, class:^(flameshot)$
|
windowrulev2 = float, class:^(flameshot)$
|
||||||
windowrulev2 = move 0 -395, class:^(flameshot)$
|
windowrulev2 = move 0 0, class:^(flameshot)$
|
||||||
windowrulev2 = pin, class:^(flameshot)$
|
windowrulev2 = pin, class:^(flameshot)$
|
||||||
# set this to your leftmost monitor id, otherwise you have to move your cursor to the leftmost monitor
|
# set this to your leftmost monitor id, otherwise you have to move your cursor to the leftmost monitor
|
||||||
# before executing flameshot
|
# before executing flameshot
|
||||||
|
|
Loading…
Reference in New Issue