Add window rules
This commit is contained in:
parent
80cf417932
commit
349abe3035
|
@ -4,6 +4,7 @@ env = WLR_NO_HARDWARE_CURSORS,1
|
|||
monitor=DP-2,preferred,0x550,1
|
||||
monitor=DP-1,preferred,1920x0,1,bitdepth,10
|
||||
monitor=HDMI-A-1,preferred,5760x550,1
|
||||
|
||||
workspace=DP-1,11
|
||||
workspace=DP-2,21
|
||||
workspace=HDMI-A-1,1
|
||||
|
@ -28,7 +29,7 @@ workspace=17,monitor:DP-1
|
|||
workspace=18,monitor:DP-1
|
||||
workspace=19,monitor:DP-1
|
||||
|
||||
workspace=21,monitor:DP-2
|
||||
workspace=21,monitor:DP-2, default:true
|
||||
workspace=22,monitor:DP-2
|
||||
workspace=23,monitor:DP-2
|
||||
workspace=24,monitor:DP-2
|
||||
|
@ -38,6 +39,11 @@ workspace=27,monitor:DP-2
|
|||
workspace=28,monitor:DP-2
|
||||
workspace=29,monitor:DP-2
|
||||
|
||||
windowrule = float,title:^(rofi)(.*)$
|
||||
windowrule = center,title:^(rofi)(.*)$
|
||||
windowrule = noborder,title:^(rofi)(.*)$
|
||||
windowrule = noanim,waybar
|
||||
|
||||
exec-once=waybar
|
||||
|
||||
binds {
|
||||
|
@ -93,7 +99,7 @@ animations {
|
|||
|
||||
dwindle {
|
||||
preserve_split = yes
|
||||
no_gaps_when_only = 1
|
||||
# no_gaps_when_only = 1
|
||||
force_split = 2
|
||||
}
|
||||
|
||||
|
@ -106,8 +112,8 @@ gestures {
|
|||
$mainMod = SUPER
|
||||
|
||||
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
|
||||
bindr = $mainMod, SUPER_L, exec, /home/user/.config/awesome/scripts/toggle_rofi.sh
|
||||
bind = $mainMod, return, exec, /home/user/.config/awesome/scripts/launch_alacritty.sh $(hyprctl activewindow -j | jq .pid)
|
||||
bindr = $mainMod, SUPER_L, exec, /home/user/.config/scripts/toggle_rofi.sh
|
||||
bind = $mainMod, return, exec, /home/user/.config/scripts/launch_alacritty.sh $(hyprctl activewindow -j | jq .pid)
|
||||
bind = $mainMod SHIFT, return, exec, alacritty
|
||||
bind = $mainMod, Q, killactive,
|
||||
bind = $mainMod, A, exec, nautilus
|
||||
|
@ -120,9 +126,9 @@ bind = CONTROL_L ALT_L, L, exec, swaylock
|
|||
bind = $mainMod, C, exec, CM_LAUNCHER=rofi-script rofi -modi "clipmenu:/usr/bin/clipmenu" -show clipmenu
|
||||
bind = $mainMod, Y, exec, /home/user/.config/rofi/rofi-ykman.sh
|
||||
bind = Super_L Control_L, Q, exec, systemctl suspend
|
||||
bind = $mainMod, Escape, exec, rofi -show power-menu -modi power-menu:/home/user/.config/awesome/scripts/rofi-power-menu
|
||||
bind = $mainMod, Escape, exec, rofi -show power-menu -modi power-menu:/home/user/.config/scripts/rofi-power-menu
|
||||
|
||||
bind = ,XF86PowerOff, exec, rofi -show power-menu -modi power-menu:/home/user/.config/awesome/scripts/rofi-power-menu
|
||||
bind = ,XF86PowerOff, exec, rofi -show power-menu -modi power-menu:/home/user/.config/scripts/rofi-power-menu
|
||||
bind = ,XF86MonBrightnessUp, exec, xbacklight -inc 10
|
||||
bind = ,XF86MonBrightnessDown, exec, xbacklight -dec 10
|
||||
bind = ,XF86AudioRaiseVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 10%+ --limit 1.0
|
||||
|
@ -141,14 +147,18 @@ bind = $mainMod, H, movefocus, l
|
|||
bind = $mainMod, L, movefocus, r
|
||||
bind = $mainMod, K, movefocus, u
|
||||
bind = $mainMod, J, movefocus, d
|
||||
bind = $mainMod CONTROL_L, H, swapwindow, l
|
||||
bind = $mainMod CONTROL_L, L, swapwindow, r
|
||||
bind = $mainMod CONTROL_L, K, swapwindow, u
|
||||
bind = $mainMod CONTROL_L, J, swapwindow, d
|
||||
bind = $mainMod SHIFT, H, movewindow, l
|
||||
bind = $mainMod SHIFT, L, movewindow, r
|
||||
bind = $mainMod SHIFT, K, movewindow, u
|
||||
bind = $mainMod SHIFT, J, movewindow, d
|
||||
bind = $mainMod CONTROL_L, L, resizeactive, 20 0
|
||||
bind = $mainMod CONTROL_L, H, resizeactive, -20 0
|
||||
bind = $mainMod CONTROL_L, K, resizeactive, 0 -20
|
||||
bind = $mainMod CONTROL_L, J, resizeactive, 0 20
|
||||
bind = $mainMod ALT, L, resizeactive, 20 0
|
||||
bind = $mainMod ALT, H, resizeactive, -20 0
|
||||
bind = $mainMod ALT, K, resizeactive, 0 -20
|
||||
bind = $mainMod ALT, J, resizeactive, 0 20
|
||||
|
||||
bind = $mainMod, 1, exec, hyprsome workspace 1
|
||||
bind = $mainMod, 2, exec, hyprsome workspace 2
|
||||
|
|
|
@ -16,4 +16,4 @@ export WINEPREFIX="$XDG_DATA_HOME"/wine
|
|||
export ZDOTDIR="$XDG_CONFIG_HOME"/zsh
|
||||
export XDG_CURRENT_DESKTOP=GNOME
|
||||
export OPENCV_LOG_LEVEL=ERROR
|
||||
|
||||
export PATH="$HOME/.local/bin:$PATH"
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
"output": "DP-1",
|
||||
"modules-left": ["hyprland/window"],
|
||||
"modules-center": ["hyprland/workspaces"],
|
||||
"modules-right": ["tray", "wireplumber", "cpu", "memory", "custom/updates", "temperature", "battery", "clock"],
|
||||
"modules-right": ["tray", "wireplumber", "cpu#cpu2", "cpu", "memory", "custom/updates", "temperature", "battery", "clock"],
|
||||
"wireplumber": {
|
||||
"format": "{icon} {volume}%",
|
||||
"format-muted": "",
|
||||
|
@ -14,7 +14,7 @@
|
|||
},
|
||||
"hyprland/workspaces": {
|
||||
"disable-scroll": true,
|
||||
"all-outputs": false,
|
||||
"all-outputs": true,
|
||||
"warp-on-scroll": false,
|
||||
"format": "{name}"
|
||||
},
|
||||
|
@ -37,6 +37,11 @@
|
|||
"tooltip": false,
|
||||
"interval": 5
|
||||
},
|
||||
"cpu#cpu2": {
|
||||
"format": "CPU {usage}%",
|
||||
"tooltip": false,
|
||||
"interval": 5
|
||||
},
|
||||
"custom/updates": {
|
||||
"exec": "bash -c \"checkupdates | wc -l\"",
|
||||
"on-click": "alacritty -e bash -c \"yay ; echo '\nDone, press any key to exit...' ; read\"",
|
||||
|
@ -48,8 +53,8 @@
|
|||
"format": "{used:0.2f}G"
|
||||
},
|
||||
"temperature": {
|
||||
"thermal-zone": 6,
|
||||
// "hwmon-path": "/sys/class/hwmon/hwmon2/temp1_input",
|
||||
"hwmon-path": "/sys/class/hwmon/hwmon2/temp1_input",
|
||||
"interval": 5,
|
||||
"critical-threshold": 80,
|
||||
// "format-critical": "{temperatureC}°C {icon}",
|
||||
"format": "{temperatureC}°C",
|
||||
|
|
|
@ -25,7 +25,6 @@ button:hover {
|
|||
background: inherit;
|
||||
box-shadow: inset 0 0 #ffffff;
|
||||
}
|
||||
|
||||
#workspaces button {
|
||||
padding: 0 8px;
|
||||
background-color: transparent;
|
||||
|
|
Loading…
Reference in New Issue