mirror of
https://github.com/m-housh/dotfiles.git
synced 2026-02-14 06:12:34 +00:00
feat: Adds clipse clipboard history, removes macos specific scripts, begin creating install scripts.
This commit is contained in:
@@ -6,10 +6,12 @@
|
||||
# Autostart necessary processes (like notifications daemons, status bars, etc.)
|
||||
# Or execute your favorite apps at launch like this:
|
||||
|
||||
exec-once = pidof hyprpaper | uwsm app -- hyprpaper
|
||||
exec-once = pidof hypridle | uwsm app -- hypridle
|
||||
exec-once = uwsm app -- elephant
|
||||
exec-once = uwsm app -- hyprpaper
|
||||
exec-once = uwsm app -- swaync
|
||||
exec-once = uwsm app -- walker --gapplication-service &
|
||||
exec-once = uwsm app -- waybar
|
||||
exec-once = clipse -listen
|
||||
|
||||
|
||||
|
||||
34
hypr/hypridle.conf
Normal file
34
hypr/hypridle.conf
Normal file
@@ -0,0 +1,34 @@
|
||||
general {
|
||||
lock_cmd = pidof hyprlock || hyprlock # avoid starting multiple hyprlock instances.
|
||||
before_sleep_cmd = loginctl lock-session # lock before suspend.
|
||||
after_sleep_cmd = hyprctl dispatch dpms on # to avoid having to press a key twice to turn on the display.
|
||||
}
|
||||
|
||||
listener {
|
||||
timeout = 150 # 2.5min.
|
||||
on-timeout = brightnessctl -s set 10 # set monitor backlight to minimum, avoid 0 on OLED monitor.
|
||||
on-resume = brightnessctl -r # monitor backlight restore.
|
||||
}
|
||||
|
||||
# turn off keyboard backlight, comment out this section if you dont have a keyboard backlight.
|
||||
listener {
|
||||
timeout = 150 # 2.5min.
|
||||
on-timeout = brightnessctl -sd rgb:kbd_backlight set 0 # turn off keyboard backlight.
|
||||
on-resume = brightnessctl -rd rgb:kbd_backlight # turn on keyboard backlight.
|
||||
}
|
||||
|
||||
listener {
|
||||
timeout = 300 # 5min
|
||||
on-timeout = loginctl lock-session # lock screen when timeout has passed
|
||||
}
|
||||
|
||||
listener {
|
||||
timeout = 330 # 5.5min
|
||||
on-timeout = hyprctl dispatch dpms off # screen off when timeout has passed
|
||||
on-resume = hyprctl dispatch dpms on && brightnessctl -r # screen on when activity is detected after timeout has fired.
|
||||
}
|
||||
|
||||
listener {
|
||||
timeout = 1800 # 30min
|
||||
on-timeout = systemctl suspend # suspend pc
|
||||
}
|
||||
@@ -39,7 +39,7 @@ source = ~/.config/hypr/autostart.conf
|
||||
# https://wiki.hyprland.org/Configuring/Variables/#general
|
||||
general {
|
||||
gaps_in = 2
|
||||
gaps_out = 5
|
||||
gaps_out = 3
|
||||
|
||||
border_size = 1
|
||||
|
||||
@@ -53,7 +53,7 @@ general {
|
||||
# Please see https://wiki.hyprland.org/Configuring/Tearing/ before you turn this on
|
||||
allow_tearing = false
|
||||
|
||||
layout = master
|
||||
layout = dwindle # or master
|
||||
}
|
||||
|
||||
# https://wiki.hyprland.org/Configuring/Variables/#decoration
|
||||
|
||||
@@ -36,17 +36,18 @@ bind = $mainMod, F, exec, $fileManager
|
||||
#bind = $mainMod, K, exec, $launch Komodo
|
||||
bind = $mainMod SHIFT, F, exec, $fileBrowser
|
||||
bind = $mainMod, G, exec, $pwa "https://git.housh.dev"
|
||||
bind = $mainMod, M, exec, ~/.local/bin/toggle-waybar
|
||||
bind = $mainMod, N, exec, $terminal -e nvim
|
||||
bind = $mainMod, P, exec, $pwa "https://pass.proton.me"
|
||||
bind = $mainMod, Y, exec, $pwa "https://youtube.com"
|
||||
bind = $mainMod, V, exec, kitty --class clipse -e clipse
|
||||
bind = $mainMod, W, killactive,
|
||||
bind = $mainMod SHIFT, R, exec, ~/.local/bin/waybar-restart
|
||||
|
||||
# TODO: change modifier key.
|
||||
#bind = $mainMod SHIFT, L, exec, hyprlock
|
||||
# TODO: change modifier key.
|
||||
bind = $mainMod, M, exec, ~/.local/bin/toggle-waybar
|
||||
bind = $mainMod, V, togglefloating
|
||||
#bind = $mainMod, V, togglefloating
|
||||
#bind = $mainMod, P, pseudo, # dwindle
|
||||
#bind = $mainMod, J, togglesplit, # dwindle
|
||||
#
|
||||
|
||||
@@ -9,6 +9,11 @@
|
||||
# Force bluetooth settings to be a floating window
|
||||
windowrule = float, class:^(blueberry.py)$
|
||||
|
||||
# Clipboard history tui in floating window.
|
||||
windowrule = float, class:(clipse)
|
||||
windowrule = size 622 652, class:(clipse)
|
||||
windowrule = stayfocused, class:(clipse)
|
||||
|
||||
|
||||
windowrule = float,class:^(float)$
|
||||
windowrule = size 800 600,class:^(float)$,title:^(Install Web App)$
|
||||
|
||||
@@ -0,0 +1,14 @@
|
||||
|
||||
# Set work spaces 1-5 to be on external monitor
|
||||
workspace = 1, monitor:1
|
||||
workspace = 2, monitor:1
|
||||
workspace = 3, monitor:1
|
||||
workspace = 4, monitor:1
|
||||
workspace = 5, monitor:1
|
||||
|
||||
# Set work spaces 6-10 to be on internal monitor
|
||||
workspace = 6, monitor:0
|
||||
workspace = 7, monitor:0
|
||||
workspace = 8, monitor:0
|
||||
workspace = 9, monitor:0
|
||||
workspace = 10, monitor:0
|
||||
|
||||
Reference in New Issue
Block a user