Compare commits
8
Commits
b43b71b8d2
..
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f0106699b9 | ||
|
|
5b8821f5a2 | ||
|
|
8f5a286b79 | ||
|
|
8f7e191a84 | ||
|
|
74ebd86694 | ||
|
|
a30fb7394e | ||
|
|
032378ca59 | ||
|
|
f728bb1392 |
+3
-2
@@ -138,12 +138,13 @@
|
||||
(statswidget :reveal_state s_rev :reveal_var s_var)
|
||||
(volumewidget :reveal_state v_rev :reveal_var v_var))))
|
||||
|
||||
;; дополнительный бар (без трея)
|
||||
;; дополнительный бар
|
||||
(defwidget side_bar [mon_key t_rev t_var s_rev s_var v_rev v_var]
|
||||
(centerbox :class "bar-inner"
|
||||
(box :halign "start" (workspaces :ws_data {ws_data[mon_key]}))
|
||||
(box :halign "center" (timewidget :reveal_state t_rev :reveal_var t_var))
|
||||
(box :halign "end" :space-evenly false
|
||||
(box :halign "end" :space-evenly false
|
||||
(tray_dynamic)
|
||||
(kb_widget)
|
||||
(statswidget :reveal_state s_rev :reveal_var s_var)
|
||||
(volumewidget :reveal_state v_rev :reveal_var v_var))))
|
||||
|
||||
@@ -70,7 +70,7 @@ bindl = $mainMod, F11, exec, playerctl play-pause
|
||||
bindl = $mainMod, F12, exec, playerctl next
|
||||
|
||||
# resize mode
|
||||
bind = $mainMod, R, exec, hyprctl keyword general:col.active_border "rgb(e3a1d2)"
|
||||
bind = $mainMod, R, exec, hyprctl keyword general:col.active_border "rgb(e3a1d2)" ; hyprctl keyword general:border_size 5
|
||||
bind = $mainMod, R, submap, resize
|
||||
|
||||
submap = resize
|
||||
@@ -78,10 +78,10 @@ submap = resize
|
||||
binde = , left, resizeactive, -20 0
|
||||
binde = , up, resizeactive, 0 -20
|
||||
binde = , down, resizeactive, 0 20
|
||||
bind = , escape, exec, hyprctl keyword general:col.active_border "rgb(a8afe1)"
|
||||
bind = , escape, submap, reset
|
||||
bind = , return, exec, hyprctl keyword general:col.active_border "rgb(a8afe1)"
|
||||
bind = , return, submap, reset
|
||||
bind = , escape, exec, hyprctl keyword general:col.active_border "rgb(a8afe1)" ; hyprctl keyword general:border_size 1
|
||||
bind = , escape, submap, reset
|
||||
bind = , return, exec, hyprctl keyword general:col.active_border "rgb(a8afe1)" ; hyprctl keyword general:border_size 1
|
||||
bind = , return, submap, reset
|
||||
submap = reset
|
||||
|
||||
bind = $mainMod, L, exec, loginctl lock-session
|
||||
bind = $mainMod, L, exec, loginctl lock-session
|
||||
|
||||
@@ -4,5 +4,5 @@ exec-once = wl-paste --type image --watch cliphist store
|
||||
exec-once = systemctl --user start hyprpolkitagent
|
||||
exec-once = gsettings set org.gnome.desktop.interface gtk-theme "Adwaita-dark"
|
||||
exec-once = gsettings set org.gnome.desktop.interface color-scheme "prefer-dark"
|
||||
exec-once = eww daemon && eww open-many bar_0 bar_1 wallpaper_0 wallpaper_1
|
||||
exec-once = hypridle --grace 15
|
||||
exec-once = eww daemon && sleep 1 && eww open-many bar_0 bar_1 wallpaper_0 wallpaper_1
|
||||
exec-once = hypridle --grace 15
|
||||
|
||||
@@ -6,4 +6,5 @@ input {
|
||||
kb_rules =
|
||||
follow_mouse = 1
|
||||
sensitivity = 0
|
||||
force_no_accel = true
|
||||
}
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
monitor = HDMI-A-1, 1920x1080@60, 0x0, 1
|
||||
monitor = DVI-I-1, 1600x900@60, -1600x140, 1
|
||||
monitor = DVI-I-1, 1600x900@60, 1920x120, 1
|
||||
|
||||
@@ -49,4 +49,12 @@ windowrule {
|
||||
match:title = ^(Picture-in-Picture)$
|
||||
opacity = 1.0 override 1.0 override 1.0 override
|
||||
float = true
|
||||
}
|
||||
}
|
||||
|
||||
windowrule {
|
||||
name = steam-app
|
||||
match:class = ^(steam_app_)(.*)
|
||||
fullscreen = on
|
||||
fullscreen_state = 2
|
||||
monitor = HDMI-A-1
|
||||
}
|
||||
|
||||
+2
-2
@@ -11,7 +11,7 @@ background {
|
||||
}
|
||||
|
||||
input-field {
|
||||
monitor = HDMI-A-1
|
||||
monitor =
|
||||
size = 250, 60
|
||||
outline_thickness = 2
|
||||
dots_size = 0.2
|
||||
@@ -29,7 +29,7 @@ input-field {
|
||||
}
|
||||
|
||||
label {
|
||||
monitor = HDMI-A-1
|
||||
monitor =
|
||||
text = $TIME
|
||||
color = rgba(202, 211, 245, 0.8)
|
||||
font_size = 94
|
||||
|
||||
@@ -1,9 +1,12 @@
|
||||
#!/bin/bash
|
||||
|
||||
MONITOR_NAME="DVI-I-1"
|
||||
WIDTH=1920
|
||||
HEIGHT=120
|
||||
WIDHT_FIXED=$((WIDTH+10))
|
||||
|
||||
hyprctl keyword monitor "$MONITOR_NAME, 1600x900@60, 0x-2000, 1" && eww reload
|
||||
notify-send -t 1500 "$MONITOR_NAME: Game Mode" "Monitor moved to 0x-2000"
|
||||
hyprctl keyword monitor "$MONITOR_NAME, 1600x900@60, ${WIDHT_FIXED}x${HEIGHT}, 1" && eww reload
|
||||
notify-send -t 1500 "$MONITOR_NAME: Game Mode" "Monitor moved to ${WIDHT_FIXED}x${HEIGHT}"
|
||||
|
||||
if [[ "$1" == *"="* ]]; then
|
||||
VAR=$1
|
||||
@@ -13,5 +16,5 @@ else
|
||||
"$@"
|
||||
fi
|
||||
|
||||
hyprctl -- keyword monitor "$MONITOR_NAME, 1600x900@60, -1600x0, 1" && eww reload
|
||||
notify-send -t 1500 "$MONITOR_NAME: Desktop Mode" "Monitor returned to -1600x0"
|
||||
hyprctl -- keyword monitor "$MONITOR_NAME, 1600x900@60, ${WIDTH}x${HEIGHT}, 1" && eww reload
|
||||
notify-send -t 1500 "$MONITOR_NAME: Desktop Mode" "Monitor returned to ${WIDTH}x${HEIGHT}"
|
||||
|
||||
Reference in New Issue
Block a user