Escape comments in sourced files

This commit is contained in:
ItsDrike 2024-03-11 02:51:33 +01:00
parent 0ee56ce533
commit ff22d1e9d5
Signed by: ItsDrike
GPG key ID: FA2745890B7048C0
5 changed files with 114 additions and 114 deletions

View file

@ -1,6 +1,6 @@
################ # ################
### MONITORS ### # ### MONITORS ###
################ # ################
# Should be configured per-profile # Should be configured per-profile
monitor = HDMI-A-1, 1920x1080@60, 0x0, 1 monitor = HDMI-A-1, 1920x1080@60, 0x0, 1
@ -10,9 +10,9 @@ monitor = , preferred, auto, 1
# Mirror the primary (laptop) monitor on externals # Mirror the primary (laptop) monitor on externals
# monitor= , preferred, auto, 1, mirror, eDP-1 # monitor= , preferred, auto, 1, mirror, eDP-1
##################### # #####################
### GENERAL INPUT ### # ### GENERAL INPUT ###
##################### # #####################
input { input {
kb_layout = us, sk kb_layout = us, sk
@ -27,9 +27,9 @@ input {
} }
} }
########################### # ###########################
### PER-DEVICE SETTINGS ### # ### PER-DEVICE SETTINGS ###
########################### # ###########################
device { device {
name = tpps/2-elan-trackpoint name = tpps/2-elan-trackpoint

View file

@ -4,18 +4,18 @@ $MOUSE_MMB = mouse:274
$MOUSE_EX1 = mouse:275 $MOUSE_EX1 = mouse:275
$MOUSE_EX2 = mouse:276 $MOUSE_EX2 = mouse:276
##################### # #####################
### DE/WM CONTROL ### # ### DE/WM CONTROL ###
##################### # #####################
bind = SUPER_SHIFT, Q, exec, menuquit bind = SUPER_SHIFT, Q, exec, menuquit
bind = SUPER_CTRL, L, exec, loginctl lock-session bind = SUPER_CTRL, L, exec, loginctl lock-session
bind = SUPER_SHIFT, L, exec, wlogout -p layer-shell bind = SUPER_SHIFT, L, exec, wlogout -p layer-shell
bind = SUPER_SHIFT, T, exec, toggle-idle bind = SUPER_SHIFT, T, exec, toggle-idle
################ # ################
### PROGRAMS ### # ### PROGRAMS ###
################ # ################
bind = SUPER, R, exec, wofi --show drun bind = SUPER, R, exec, wofi --show drun
bind = SUPER_SHIFT, Return, exec, wofi --show run bind = SUPER_SHIFT, Return, exec, wofi --show run
@ -29,9 +29,9 @@ bind = SUPER, D, exec, discord
bind = SUPER, C, exec, qalculate-gtk bind = SUPER, C, exec, qalculate-gtk
bind = , XF86Calculator, exec, qalculate-gtk bind = , XF86Calculator, exec, qalculate-gtk
##################### # #####################
### NOTIFICATIONS ### # ### NOTIFICATIONS ###
##################### # #####################
bind = CTRL, grave, exec, dunstctl close bind = CTRL, grave, exec, dunstctl close
bind = CTRL_SHIFT, grave, exec, dunstctl close-all bind = CTRL_SHIFT, grave, exec, dunstctl close-all
@ -39,9 +39,9 @@ bind = CTRL, period, exec, dunstctl history-pop
bind = CTRL_SHIFT, period, exec, dunstctl context bind = CTRL_SHIFT, period, exec, dunstctl context
bind = SUPER_SHIFT, D, exec, toggle-notifications bind = SUPER_SHIFT, D, exec, toggle-notifications
###################### # ######################
### VOLUME CONTROL ### # ### VOLUME CONTROL ###
###################### # ######################
binde = SUPER, Down, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 0.05- binde = SUPER, Down, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 0.05-
binde = SUPER, Up, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 0.05+ binde = SUPER, Up, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 0.05+
@ -50,18 +50,18 @@ binde = , XF86AudioRaiseVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 0.05
bind = , XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle bind = , XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
bind = , XF86AudioMicMute, exec, wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle bind = , XF86AudioMicMute, exec, wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle
########################## # ##########################
### BRIGHTNESS CONTROL ### # ### BRIGHTNESS CONTROL ###
########################## # ##########################
binde = SUPER, Right, exec, brightness -i 5% -n binde = SUPER, Right, exec, brightness -i 5% -n
binde = SUPER, Left, exec, brightness -d 5% -n binde = SUPER, Left, exec, brightness -d 5% -n
binde = , XF86MonBrightnessUp, exec, brightness -i 5% -n binde = , XF86MonBrightnessUp, exec, brightness -i 5% -n
binde = , XF86MonBrightnessDown, exec, brightness -d 5% -n binde = , XF86MonBrightnessDown, exec, brightness -d 5% -n
################### # ###################
### SCREENSHOTS ### # ### SCREENSHOTS ###
################### # ###################
# Screenshots (with custom screenshot script) # Screenshots (with custom screenshot script)
$SCREENSHOT_FORMAT = "${XDG_SCREENSHOTS_DIR:-$HOME/Pictures/Screenshots}/Screenshot_$(date +%Y-%m-%d_%H-%M-%S).png" $SCREENSHOT_FORMAT = "${XDG_SCREENSHOTS_DIR:-$HOME/Pictures/Screenshots}/Screenshot_$(date +%Y-%m-%d_%H-%M-%S).png"
@ -82,9 +82,9 @@ bind = SUPER_SHIFT_CTRL, Print, exec, screenshot --notify --save $SCREENSHOT_FOR
bind = , 164, exec, quick-record --notify toggle bind = , 164, exec, quick-record --notify toggle
bind = SUPER, 164, exec, quick-record toggle bind = SUPER, 164, exec, quick-record toggle
##################### # #####################
### ACTIVE WINDOW ### # ### ACTIVE WINDOW ###
##################### # #####################
bind = SUPER, W, killactive, bind = SUPER, W, killactive,
bind = SUPER, F, togglefloating, bind = SUPER, F, togglefloating,
@ -95,51 +95,51 @@ bind = SUPER, P, exec, bash -c "if hyprctl activewindow | grep 'floating: 0'; th
bind = SUPER_SHIFT, P, pseudo, bind = SUPER_SHIFT, P, pseudo,
bind = SUPER_SHIFT, S, layoutmsg, togglesplit bind = SUPER_SHIFT, S, layoutmsg, togglesplit
##################### # #####################
### WINDOW GROUPS ### # ### WINDOW GROUPS ###
##################### # #####################
bind = SUPER, G, togglegroup, bind = SUPER, G, togglegroup,
bind = ALT, tab, changegroupactive, f bind = ALT, tab, changegroupactive, f
bind = ALT, grave, changegroupactive, b bind = ALT, grave, changegroupactive, b
###################################### # ######################################
### SPECIAL WORKSPACE (SCRATCHPAD) ### # ### SPECIAL WORKSPACE (SCRATCHPAD) ###
###################################### # ######################################
bind = ALT, grave, movetoworkspace, special bind = ALT, grave, movetoworkspace, special
bind = SUPER, grave, togglespecialworkspace, bind = SUPER, grave, togglespecialworkspace,
################################################################ # ################################################################
### OVERRIDE SPLIT DIRECTION FOR NEXT WINDOW (MANUAL TILING) ### # ### OVERRIDE SPLIT DIRECTION FOR NEXT WINDOW (MANUAL TILING) ###
################################################################ # ################################################################
bind = SUPER_ALT, left, layoutmsg, preselect l bind = SUPER_ALT, left, layoutmsg, preselect l
bind = SUPER_ALT, right, layoutmsg, preselect r bind = SUPER_ALT, right, layoutmsg, preselect r
bind = SUPER_ALT, up, layoutmsg, preselect u bind = SUPER_ALT, up, layoutmsg, preselect u
bind = SUPER_ALT, down, layoutmsg, preselect d bind = SUPER_ALT, down, layoutmsg, preselect d
######################### # #########################
### MOVE WINDOW FOCUS ### # ### MOVE WINDOW FOCUS ###
######################### # #########################
bind = SUPER, h, movefocus, l bind = SUPER, h, movefocus, l
bind = SUPER, l, movefocus, r bind = SUPER, l, movefocus, r
bind = SUPER, k, movefocus, u bind = SUPER, k, movefocus, u
bind = SUPER, j, movefocus, d bind = SUPER, j, movefocus, d
####################################### # #######################################
### MOVE ACTIVE WINDOW IN DIRECTION ### # ### MOVE ACTIVE WINDOW IN DIRECTION ###
####################################### # #######################################
bind = SUPER_ALT, h, movewindow, l bind = SUPER_ALT, h, movewindow, l
bind = SUPER_ALT, l, movewindow, r bind = SUPER_ALT, l, movewindow, r
bind = SUPER_ALT, k, movewindow, u bind = SUPER_ALT, k, movewindow, u
bind = SUPER_ALT, j, movewindow, d bind = SUPER_ALT, j, movewindow, d
####################################### # #######################################
### MOVE FLOATING WINDOWS ### # ### MOVE FLOATING WINDOWS ###
####################################### # #######################################
$myMoveSize = 100 $myMoveSize = 100
$myMove = sh .config/hypr/scripts/move-window.sh $myMoveSize $myMove = sh .config/hypr/scripts/move-window.sh $myMoveSize
@ -148,9 +148,9 @@ bind = SUPER_ALT, right, exec, $myMove r
bind = SUPER_ALT, up, exec, $myMove u bind = SUPER_ALT, up, exec, $myMove u
bind = SUPER_ALT, down, exec, $myMove d bind = SUPER_ALT, down, exec, $myMove d
###################################################### # ######################################################
### SWITCH WORKSPACE (SWAPPING TO CURRENT MONITOR) ### # ### SWITCH WORKSPACE (SWAPPING TO CURRENT MONITOR) ###
###################################################### # ######################################################
bind = SUPER, 1, exec, swap-workspace 1 bind = SUPER, 1, exec, swap-workspace 1
bind = SUPER, 2, exec, swap-workspace 2 bind = SUPER, 2, exec, swap-workspace 2
@ -162,9 +162,9 @@ bind = SUPER, 7, exec, swap-workspace 7
bind = SUPER, 8, exec, swap-workspace 8 bind = SUPER, 8, exec, swap-workspace 8
bind = SUPER, 9, exec, swap-workspace 9 bind = SUPER, 9, exec, swap-workspace 9
################################ # ################################
### MOVE WINDOW TO WORKSPACE ### # ### MOVE WINDOW TO WORKSPACE ###
################################ # ################################
bind = SUPER_SHIFT, 1, movetoworkspacesilent, 1 bind = SUPER_SHIFT, 1, movetoworkspacesilent, 1
bind = SUPER_SHIFT, 2, movetoworkspacesilent, 2 bind = SUPER_SHIFT, 2, movetoworkspacesilent, 2
@ -176,9 +176,9 @@ bind = SUPER_SHIFT, 7, movetoworkspacesilent, 7
bind = SUPER_SHIFT, 8, movetoworkspacesilent, 8 bind = SUPER_SHIFT, 8, movetoworkspacesilent, 8
bind = SUPER_SHIFT, 9, movetoworkspacesilent, 9 bind = SUPER_SHIFT, 9, movetoworkspacesilent, 9
########################################### # ###########################################
### MOVE WINDOW TO WORKSPACE + FOCUS IT ### # ### MOVE WINDOW TO WORKSPACE + FOCUS IT ###
########################################### # ###########################################
bind = ALT, 1, movetoworkspace, 1 bind = ALT, 1, movetoworkspace, 1
bind = ALT, 2, movetoworkspace, 2 bind = ALT, 2, movetoworkspace, 2
@ -190,9 +190,9 @@ bind = ALT, 7, movetoworkspace, 7
bind = ALT, 8, movetoworkspace, 8 bind = ALT, 8, movetoworkspace, 8
bind = ALT, 9, movetoworkspace, 9 bind = ALT, 9, movetoworkspace, 9
############################################ # ############################################
### CYCLE WORKSPACES (RELATIVE MOVEMENT) ### # ### CYCLE WORKSPACES (RELATIVE MOVEMENT) ###
############################################ # ############################################
bind = SUPER, mouse_down, workspace, +1 bind = SUPER, mouse_down, workspace, +1
bind = SUPER, mouse_up, workspace, -1 bind = SUPER, mouse_up, workspace, -1
@ -200,16 +200,16 @@ bind = SUPER, bracketleft, workspace, -1
bind = SUPER, bracketright, workspace, +1 bind = SUPER, bracketright, workspace, +1
########################################## # ##########################################
### CYCLE MONITORS (RELATIVE MOVEMENT) ### # ### CYCLE MONITORS (RELATIVE MOVEMENT) ###
########################################## # ##########################################
bind = SUPER_SHIFT, bracketleft, focusmonitor, -1 bind = SUPER_SHIFT, bracketleft, focusmonitor, -1
bind = SUPER_SHIFT, bracketright, focusmonitor, +1 bind = SUPER_SHIFT, bracketright, focusmonitor, +1
####################### # #######################
### WINDOW RESIZING ### # ### WINDOW RESIZING ###
####################### # #######################
## Mouse window resizing ## Mouse window resizing
bindm = SUPER, $MOUSE_LMB, movewindow bindm = SUPER, $MOUSE_LMB, movewindow
@ -269,16 +269,16 @@ bind = , return, submap, reset
bind = SUPER, slash, submap, reset bind = SUPER, slash, submap, reset
submap = reset submap = reset
######################################################## # ########################################################
### GLOBAL KEYBINDS (PASSING KEYS TO OTHER PROGRAMS) ### # ### GLOBAL KEYBINDS (PASSING KEYS TO OTHER PROGRAMS) ###
######################################################## # ########################################################
bind = CTRL, F10, pass, ^(com\.obsproject\.Studio)$ bind = CTRL, F10, pass, ^(com\.obsproject\.Studio)$
bind = CTRL, F10, pass, ^(com\.obsproject\.Studio)$ bind = CTRL, F10, pass, ^(com\.obsproject\.Studio)$
####################### # #######################
### ISOLATION GROUP ### # ### ISOLATION GROUP ###
####################### # #######################
# Isolating group to prevent keybind capturing (for games etc) # Isolating group to prevent keybind capturing (for games etc)
# SUPER + Fn + F12 (Favorites) # SUPER + Fn + F12 (Favorites)

View file

@ -1,13 +1,13 @@
####################### # #######################
### LOADING PLUGINS ### # ### LOADING PLUGINS ###
####################### # #######################
exec-once=hyprpm reload -n exec-once=hyprpm reload -n
#exec-once=hyprctl plugin load $HOME/.local/share/hyprload/plugins/bin/dwindle-autogroup.so #exec-once=hyprctl plugin load $HOME/.local/share/hyprload/plugins/bin/dwindle-autogroup.so
################ # ################
### HYPRBARS ### # ### HYPRBARS ###
################ # ################
plugin { plugin {
hyprbars { hyprbars {

View file

@ -1,15 +1,15 @@
################### # ###################
### WINDOW GAPS ### # ### WINDOW GAPS ###
################### # ###################
general { general {
gaps_in = 5 gaps_in = 5
gaps_out = 8 gaps_out = 8
} }
############### # ###############
### BORDERS ### # ### BORDERS ###
############### # ###############
decoration { decoration {
rounding = 8 rounding = 8
@ -38,9 +38,9 @@ group {
col.border_locked_inactive = rgba(A0A500AA) # transparent yellow col.border_locked_inactive = rgba(A0A500AA) # transparent yellow
} }
################# # #################
### GROUP BAR ### # ### GROUP BAR ###
################# # #################
group { group {
groupbar { groupbar {
@ -59,9 +59,9 @@ group {
} }
} }
################### # ###################
### DROP SHADOW ### # ### DROP SHADOW ###
################### # ###################
decoration { decoration {
drop_shadow = true drop_shadow = true
@ -72,9 +72,9 @@ decoration {
col.shadow_inactive = rgba(0F0F0F99) col.shadow_inactive = rgba(0F0F0F99)
} }
################### # ###################
### WINDOW BLUR ### # ### WINDOW BLUR ###
################### # ###################
decoration { decoration {
blur { blur {
@ -84,9 +84,9 @@ decoration {
} }
} }
######################## # ########################
### INACTIVE WINDOWS ### # ### INACTIVE WINDOWS ###
######################## # ########################
decoration { decoration {
#dim_inactive = true #dim_inactive = true
@ -96,9 +96,9 @@ decoration {
# inactive_opacity = 0.9 # inactive_opacity = 0.9
} }
################## # ##################
### ANIMATIONS ### # ### ANIMATIONS ###
################## # ##################
animations { animations {
enabled = true enabled = true
@ -114,9 +114,9 @@ misc {
animate_manual_resizes = true animate_manual_resizes = true
} }
################# # #################
### WALLPAPER ### # ### WALLPAPER ###
################# # #################
misc { misc {
disable_hyprland_logo = true disable_hyprland_logo = true

View file

@ -1,6 +1,6 @@
########################### # ###########################
### ASSIGNED WORKSPACES ### # ### ASSIGNED WORKSPACES ###
########################### # ###########################
windowrulev2 = workspace 2, class:^(firefox)$ windowrulev2 = workspace 2, class:^(firefox)$
windowrulev2 = workspace 4, class:^(discord)$ windowrulev2 = workspace 4, class:^(discord)$
@ -9,9 +9,9 @@ windowrulev2 = workspace 5, class:^(Spotify)$
windowrulev2 = workspace 6, class:^(Stremio)$ windowrulev2 = workspace 6, class:^(Stremio)$
windowrulev2 = workspace 6, class:^(com.stremio.stremio)$ windowrulev2 = workspace 6, class:^(com.stremio.stremio)$
####################### # #######################
### IDLE INHIBITION ### # ### IDLE INHIBITION ###
####################### # #######################
windowrulev2 = idleinhibit focus, class:^(Stremio)$ windowrulev2 = idleinhibit focus, class:^(Stremio)$
windowrulev2 = idleinhibit focus, class:^(com.stremio.stremio)$ windowrulev2 = idleinhibit focus, class:^(com.stremio.stremio)$
@ -19,16 +19,16 @@ windowrulev2 = idleinhibit focus, class:^(mpv)$
windowrulev2 = idleinhibit focus, class:^(firefox)$,title:^(.+ - YouTube — Mozilla Firefox)$ windowrulev2 = idleinhibit focus, class:^(firefox)$,title:^(.+ - YouTube — Mozilla Firefox)$
windowrulev2 = idleinhibit focus, class:^(firefox)$,title:^(Picture-in-Picture)$ windowrulev2 = idleinhibit focus, class:^(firefox)$,title:^(Picture-in-Picture)$
################################ # ################################
### CORRECT SIZE / AUTO TILE ### # ### CORRECT SIZE / AUTO TILE ###
################################ # ################################
windowrulev2 = size 800 550, class:^(qalculate-gtk)$ windowrulev2 = size 800 550, class:^(qalculate-gtk)$
windowrulev2 = tile, class:^(Spotify)$ windowrulev2 = tile, class:^(Spotify)$
################## # ##################
### AUTO FLOAT ### # ### AUTO FLOAT ###
################## # ##################
windowrulev2 = float, class:^(Lxappearance)$ windowrulev2 = float, class:^(Lxappearance)$
windowrulev2 = float, class:^(Rofi)$ windowrulev2 = float, class:^(Rofi)$