742 lines
27 KiB
Nix
742 lines
27 KiB
Nix
{ config, pkgs, lib, ... }:
|
||
let
|
||
animation-speed = "1";
|
||
transparency = "0.9";
|
||
gap-size = 10;
|
||
monitors = {
|
||
main = {
|
||
name = "eDP-1";
|
||
resolution = "1920x1200";
|
||
position = "0x0";
|
||
scale = "1.0";
|
||
};
|
||
second = {
|
||
name = "DP-1";
|
||
resolution = "1920x1080";
|
||
position = "1920x0";
|
||
scale = "1.0";
|
||
};
|
||
};
|
||
in
|
||
{
|
||
home.packages = with pkgs; [
|
||
# hyprland itself is a system package
|
||
hyprland-protocols
|
||
(writeShellScriptBin "waybar_mode" ''
|
||
#!/bin/bash
|
||
|
||
# Function to print help message
|
||
print_help() {
|
||
echo "Usage: waybar_mode {set <string>|unset}"
|
||
}
|
||
if [ $# -lt 1 ]; then
|
||
print_help; exit 1;
|
||
fi
|
||
|
||
case "$1" in
|
||
set)
|
||
# Check if there is a second argument for the 'set' operation
|
||
if [ $# -eq 2 ]; then
|
||
echo "$2" > /tmp/waybar-mode
|
||
pkill -RTMIN+8 waybar
|
||
else
|
||
echo "Error: 'set' operation requires exactly one string argument."
|
||
print_help
|
||
exit 1
|
||
fi
|
||
;;
|
||
unset)
|
||
echo "" > /tmp/waybar-mode
|
||
pkill -RTMIN+8 waybar
|
||
;;
|
||
*)
|
||
echo "Error: Unknown command '$1'"
|
||
print_help
|
||
exit 1
|
||
;;
|
||
esac
|
||
|
||
exit 0
|
||
'')
|
||
];
|
||
|
||
wayland.windowManager.hyprland = {
|
||
enable = true;
|
||
xwayland.enable = true;
|
||
systemd.enable = true;
|
||
# plugins = [];
|
||
|
||
settings = {
|
||
# source = /home/nx2/.config/hypr/hyprland-nosync.conf;
|
||
|
||
monitor = [
|
||
"${monitors.main.name}, ${monitors.main.resolution}, ${monitors.main.position}, ${monitors.main.scale}"
|
||
];
|
||
|
||
workspace = [
|
||
"${monitors.main.name}, 11"
|
||
"${monitors.main.name}, 12"
|
||
"${monitors.main.name}, 13"
|
||
"${monitors.main.name}, 14"
|
||
"${monitors.main.name}, 15"
|
||
"${monitors.main.name}, 16"
|
||
"${monitors.main.name}, 17"
|
||
"${monitors.main.name}, 18"
|
||
"${monitors.main.name}, 19"
|
||
"${monitors.main.name}, 10,gapsin:0,gapsout:0"
|
||
"${monitors.main.name}, 100"
|
||
"${monitors.second.name}, 11,gapsin:0,gapsout:0"
|
||
"${monitors.second.name}, 11"
|
||
"${monitors.second.name}, 12"
|
||
"${monitors.second.name}, 13"
|
||
"${monitors.second.name}, 14"
|
||
"${monitors.second.name}, 15"
|
||
"${monitors.second.name}, 16"
|
||
"${monitors.second.name}, 17"
|
||
"${monitors.second.name}, 18"
|
||
"${monitors.second.name}, 19"
|
||
"${monitors.second.name}, 10"
|
||
];
|
||
|
||
"device:logitech-wireless-mouse-mx-master-1" = {
|
||
sensitivity = -0.2;
|
||
};
|
||
|
||
|
||
# env = XCURSOR_SIZE,18
|
||
|
||
# env = GTK_IM_MODULE,ibus
|
||
# env = QT_IM_MODULE,ibus
|
||
# env = XMODIFIERS,@im=ibus
|
||
|
||
input = {
|
||
sensitivity = 0.1;
|
||
kb_layout = "de";
|
||
follow_mouse = "2";
|
||
touchpad = {
|
||
natural_scroll = true;
|
||
scroll_factor = "0.9";
|
||
};
|
||
};
|
||
|
||
general = {
|
||
gaps_in = builtins.div gap-size 2;
|
||
gaps_out = gap-size;
|
||
border_size = "1";
|
||
"col.active_border" = "rgba(888888ff)";
|
||
"col.inactive_border" = "rgba(000000ff)";
|
||
|
||
layout = "dwindle";
|
||
# layout = "master";
|
||
resize_on_border = false;
|
||
};
|
||
|
||
decoration = {
|
||
|
||
rounding = "0";
|
||
|
||
drop_shadow = false;
|
||
shadow_range = "20";
|
||
shadow_offset = "0 0";
|
||
shadow_render_power = "4";
|
||
"col.shadow" = "rgba(000000ff)";
|
||
"col.shadow_inactive" = "rgba(00000000)";
|
||
|
||
active_opacity = "1.0";
|
||
inactive_opacity = "1.0";
|
||
fullscreen_opacity = "1.0";
|
||
|
||
dim_inactive = false;
|
||
dim_strength = "0.3";
|
||
|
||
blur = {
|
||
enabled = true;
|
||
size = "3";
|
||
passes = "2";
|
||
xray = false;
|
||
ignore_opacity = true;
|
||
};
|
||
};
|
||
|
||
|
||
animations = {
|
||
enabled = true;
|
||
bezier = "myBezier, 0.01, 0.9, 0.1, 1.0";
|
||
animation = [
|
||
"windows, 1, ${animation-speed}, myBezier, slide"
|
||
"border, 1, ${animation-speed}, myBezier"
|
||
"fade, 1, ${animation-speed}, myBezier"
|
||
"workspaces, 1, ${animation-speed}, myBezier, slide"
|
||
];
|
||
};
|
||
|
||
gestures = {
|
||
workspace_swipe = true;
|
||
workspace_swipe_fingers = "4";
|
||
workspace_swipe_distance = "300";
|
||
workspace_swipe_invert = true;
|
||
workspace_swipe_min_speed_to_force = "30";
|
||
workspace_swipe_cancel_ratio = "0.5";
|
||
workspace_swipe_create_new = false;
|
||
workspace_swipe_direction_lock = false;
|
||
workspace_swipe_direction_lock_threshold = "10";
|
||
workspace_swipe_forever = true;
|
||
workspace_swipe_numbered = false;
|
||
workspace_swipe_use_r = false;
|
||
};
|
||
|
||
dwindle = {
|
||
preserve_split = true; # you probably want this
|
||
no_gaps_when_only = true;
|
||
};
|
||
|
||
master = {
|
||
new_is_master = true;
|
||
};
|
||
|
||
misc = {
|
||
disable_hyprland_logo = true;
|
||
animate_mouse_windowdragging = false;
|
||
enable_swallow = true;
|
||
};
|
||
|
||
exec-once = [
|
||
"hyprpm reload -n "
|
||
"waybar "
|
||
"hyprpaper -n "
|
||
"swww init"
|
||
"= /home/nx2/scripts/swww-randomize.sh"
|
||
"hyprland-autoname-workspaces"
|
||
"/usr/lib/polkit-kde-authentication-agent-1 "
|
||
"dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP"
|
||
"syncthing -no-browser"
|
||
"mako"
|
||
"ibus engine xkb:de::deu"
|
||
"libinput-gestures"
|
||
];
|
||
|
||
windowrulev2 = [
|
||
"opacity $trans,class:^(com.chatterino.chatterino)$"
|
||
"opacity $trans,class:^(chatterino)$"
|
||
"bordercolor rgba(ff00ffff) rgba(ff00ff66), pinned:1"
|
||
];
|
||
|
||
windowrule = [
|
||
"opacity $trans, code-oss"
|
||
"opacity $trans, VSCodium"
|
||
"opacity $trans, Code"
|
||
"opacity $trans, neovide"
|
||
"opacity $trans, obsidian"
|
||
"opacity $trans, zathura"
|
||
"bordercolor rgba(ffffffff) rgba(000000b2), Alacritty"
|
||
"bordercolor rgba(ffffffff) rgba(000000b2), Kitty"
|
||
"opacity $trans, discord"
|
||
"opacity $trans, vesktop"
|
||
"opacity $trans, Element"
|
||
"opacity $trans, thunderbird"
|
||
"opacity $trans, lutris"
|
||
"opacity $trans, element"
|
||
"opacity $trans, ^([sS]potify)$"
|
||
"opacity $trans, virt-manager"
|
||
"opacity $trans, thunar"
|
||
"opaque, title:^(GNU Image Manipulation Program)$"
|
||
"dimaround, Rofi"
|
||
"float, title:^(Picture-in-Picture)$"
|
||
"float, title:^(Ibus-ui.*)$"
|
||
"float, ^(ibus-ui.*)$"
|
||
"float, ^(ibus-ui-gtk3)$"
|
||
"float, title:^(Ibus-ui-gtk3)$"
|
||
"pin, title:^(Picture-in-Picture)$"
|
||
"float, org.kde.polkit-kde-authentication-agent-1"
|
||
"float, title:^(wlogout)$"
|
||
"float, imv"
|
||
"float, title:^(Page Info — .*)$"
|
||
"tile, sent"
|
||
"fullscreen, wlogout"
|
||
"workspace 14, lutris"
|
||
"workspace 100, title:^(Apex Legends)$"
|
||
"workspace 100, ^(cyberpunk2077.exe)$"
|
||
"workspace 100, title:^(No Man.s Sky)$"
|
||
"workspace 100, gamescope"
|
||
];
|
||
|
||
|
||
layerrule = [
|
||
"blur,waybar"
|
||
];
|
||
|
||
|
||
# d8888b. d888888b d8b db d8888b. .d8888.
|
||
# 88 '8D '88' 888o 88 88 '8D 88' YP
|
||
# 88oooY' 88 88V8o 88 88 88 '8bo.
|
||
# 88''Yb. 88 88 V8o88 88 88 'Y8b.
|
||
# 88 8D .88. 88 V888 88 .8D db 8D
|
||
# Y8888P' Y888888P VP V8P Y8888D' '8888Y'
|
||
|
||
###########################################################################
|
||
## ROW 0:
|
||
bind = [
|
||
"SUPER SHIFT, Escape, exit, "
|
||
"SUPER, F1, workspace, 100"
|
||
"SUPER SHIFT, F1, movetoworkspace, 100"
|
||
# "SUPER, F2,"
|
||
"SUPER, F3, toggleopaque"
|
||
# "SUPER, F4,"
|
||
"SUPER, F5, exec, /home/nx2/scripts/NxGCalEvent/force-new-lookup.sh"
|
||
"SUPER SHIFT, F5, exec, /home/nx2/scripts/NxGCalEvent/force-reauthentication.sh"
|
||
# "SUPER, F6,"
|
||
"SUPER, F8, exec, /home/nx2/scripts/swww-randomize.sh"
|
||
# "SUPER, F9, hyprload,reload"
|
||
# "SUPER, F10, hyprload,update"
|
||
"SUPER, F11, exec, waybar"
|
||
"SUPER SHIFT, F11, exec, pkill waybar "
|
||
"SUPER, F12, exec, hyprland-autoname-workspaces --migrate-config &"
|
||
"SUPER SHIFT, F12, exec, pkill hyprland-autoname-workspaces "
|
||
|
||
###########################################################################
|
||
## ROW 1:
|
||
|
||
# "SUPER, ^,"
|
||
"SUPER, 1, workspace, 11"
|
||
"SUPER SHIFT, 1, movetoworkspace, 11"
|
||
"SUPER, 2, workspace, 12"
|
||
"SUPER SHIFT, 2, movetoworkspace, 12"
|
||
"SUPER, 3, workspace, 13"
|
||
"SUPER SHIFT, 3, movetoworkspace, 13"
|
||
"SUPER, 4, workspace, 14"
|
||
"SUPER SHIFT, 4, movetoworkspace, 14"
|
||
"SUPER, 5, workspace, 15"
|
||
"SUPER SHIFT, 5, movetoworkspace, 15"
|
||
"SUPER, 6, workspace, 16"
|
||
"SUPER SHIFT, 6, movetoworkspace, 16"
|
||
"SUPER, 7, workspace, 17"
|
||
"SUPER SHIFT, 7, movetoworkspace, 17"
|
||
"SUPER, 8, workspace, 18"
|
||
"SUPER SHIFT, 8, movetoworkspace, 18"
|
||
"SUPER, 9, workspace, 19"
|
||
"SUPER SHIFT, 9, movetoworkspace, 19"
|
||
"SUPER, 0, workspace, 10"
|
||
"SUPER SHIFT, 0, movetoworkspace, 10"
|
||
|
||
# "SUPER, ß,"
|
||
# "SUPER, ´,"
|
||
# "SUPER, Backspace,"
|
||
|
||
###########################################################################
|
||
## ROW 2:
|
||
|
||
#bind = SUPER, TAB, hycov:toggleoverview
|
||
"ALT, TAB, focuscurrentorlast"
|
||
"SUPER, Q, killactive"
|
||
"SUPER, W, exec, waybar_mode set ' '"
|
||
"SUPER, W, submap, browserSM "
|
||
"SUPER, E, exec, element-desktop"
|
||
"SUPER, R, exec, rofi -show drun"
|
||
# "SUPER, T, exec, alacritty"
|
||
# "SUPER SHIFT, T, exec, alacritty -e sh -c "ssh nxace""
|
||
"SUPER, T, exec, kitty"
|
||
"SUPER SHIFT, T, exec, kitty -e sh -c 'ssh nxace'"
|
||
"SUPER, Z, swapactiveworkspaces, HDMI-A-1 HDMI-A-2"
|
||
"SUPER, U, exec, thunderbird "
|
||
# "SUPER, I, "
|
||
"SUPER, O, exec, obsidian "
|
||
"SUPER, P, pin "
|
||
# "SUPER, Ü,"
|
||
# "SUPER, +,"
|
||
# "SUPER, Enter,"
|
||
|
||
###########################################################################
|
||
## ROW 3:
|
||
|
||
"SUPER, A, execr, echo ' ' > /tmp/waybar-mode && pkill -RTMIN+8 waybar"
|
||
"SUPER, A, submap, scrL"
|
||
"SUPER, S, exec, spotify"
|
||
# "SUPER, D, exec, discord "
|
||
"SUPER, D, exec, vesktop"
|
||
"SUPER, F, fullscreen"
|
||
"SUPER, G, exec, xrandr --verbose --output 'DP-1' --primary && lutris"
|
||
"SUPER SHIFT, G, exec, /home/nx2/scripts/cursor-lock-toggle.sh"
|
||
# "SUPER SHIFT CTRL, G, exec, /home/nx2/scripts/disable-side-monitors.sh"
|
||
"SUPER, H, exec, chatterino"
|
||
"SUPER, J, focusmonitor, $left"
|
||
"SUPER, K, focusmonitor, $main"
|
||
"SUPER, L, focusmonitor, $right"
|
||
# "SUPER, Ö,"
|
||
# "SUPER, Ä,"
|
||
# "SUPER, #,"
|
||
|
||
###########################################################################
|
||
## ROW 4:
|
||
|
||
# "SUPER, <,"
|
||
"SUPER, Y, execr, echo ' ' > /tmp/waybar-mode && pkill -RTMIN+8 waybar"
|
||
"SUPER, Y, submap, scrR"
|
||
"SUPER, X, exec, pkill wlogout || wlogout --protocol layer-shell -b 5 -T 450 -B 450"
|
||
"SUPER, C, exec, /home/nx2/scripts/quickconfig/quickconfig.sh "
|
||
"SUPER, V, togglefloating, "
|
||
"SUPER, B, exec, bitwarden-desktop"
|
||
"SUPER, N, togglesplit"
|
||
"SUPER, M, exec, /home/nx2/scripts/meme-full-screen/meme-full-screen.sh "
|
||
# "SUPER, comma, exec, /home/nx2/scripts/change-language.sh"
|
||
"SUPER, ., exec, echo key x:Prior | dotool"
|
||
"SUPER, -, exec, echo key x:Next | dotool"
|
||
|
||
###########################################################################
|
||
## ROW 5:
|
||
|
||
# bindr = SUPER, Ctrl, exec, # ??
|
||
# bindr = SUPERALT, Alt_L, exec,
|
||
"SUPER, Space, cyclenext"
|
||
"SUPER SHIFT, Space, swapnext"
|
||
# "SUPER, , "
|
||
# "SUPER, , "
|
||
# "SUPER, AppsKey, # ? "
|
||
#
|
||
|
||
###########################################################################
|
||
## ARROW KEYS:
|
||
|
||
"SUPER, left, movefocus, l"
|
||
# "SUPER SHIFT, left, split-changemonitor, prev"
|
||
"SUPER, right, movefocus, r"
|
||
"SUPER, up, movefocus, u"
|
||
# "SUPER SHIFT, right, split-changemonitor, next"
|
||
"SUPER, down, movefocus, d"
|
||
|
||
###########################################################################
|
||
## MEGA KEYS:
|
||
|
||
", Print, exec, /home/nx2/scripts/screenshot.sh "
|
||
"SUPER, Next, resizeactive, 100 -100"
|
||
"SUPER, Prior, resizeactive, -100 100"
|
||
|
||
###########################################################################
|
||
## FN KEYS:
|
||
|
||
",XF86AudioRaiseVolume, exec, wpctl set-volume -l 1.5 @DEFAULT_AUDIO_SINK@ 5%+"
|
||
",XF86AudioLowerVolume, exec, wpctl set-volume -l 1.5 @DEFAULT_AUDIO_SINK@ 5%-"
|
||
",XF86AudioMute, exec, pactl set-sink-mute @DEFAULT_SINK@ toggle"
|
||
",XF86AudioPlay, exec, playerctl play-pause"
|
||
",XF86AudioPrev, exec, playerctl playerctl previous"
|
||
",XF86AudioNext, exec, playerctl playerctl next"
|
||
",XF86MonBrightnessUp, exec, brightnessctl s '5%+'"
|
||
",XF86MonBrightnessDown, exec, brightnessctl s '5%-'"
|
||
|
||
###########################################################################
|
||
## MOUSE:
|
||
|
||
"SUPER, mouse_down, workspace, e+1"
|
||
"SUPER, mouse_up, workspace, e-1"
|
||
];
|
||
|
||
|
||
bindm = [
|
||
"SUPER, mouse:272, movewindow"
|
||
"SUPER, mouse:273, resizewindow"
|
||
];
|
||
};
|
||
|
||
|
||
# .d8888. db db d8888b. 88b d88 d8b d88888b. .d8888.
|
||
# 88' YP 88 88 88 '8D 88YbdP88 dP'Yb 88' '8b 88' YP
|
||
# '8bo. 88 88 88oooY' 88 YP 88 d8. .8b 88. .8P '8bo.
|
||
# 'Y8b. 88 88 88''Yb. 88 88 8888888 888888P' 'Y8b.
|
||
# db 8D 88. .88 88 8D 88 88 88' '88 88 db 8D
|
||
# '8888Y' 'Y8888P' Y8888P' YP YP 88 YP YP '8888Y'
|
||
extraConfig = ''
|
||
submap = browserSM
|
||
bind = , W, exec, waybar_mode unset && hyprctl dispatch exec [workspace 11] firefox
|
||
bind = , W, submap, reset
|
||
|
||
bind = , Y, exec, waybar_mode unset && firefox https://youtube.com
|
||
bind = , Y, submap, reset
|
||
|
||
bind = , T, exec, waybar_mode unset && hyprctl dispatch exec [workspace 10] "firefox https://twitch.tv"
|
||
bind = , T, submap, reset
|
||
|
||
bind = , R, exec, waybar_mode unset && firefox https://reddit.com
|
||
bind = , R, submap, reset
|
||
|
||
bind = , C, exec, waybar_mode unset && firefox https://calendar.google.com
|
||
bind = , C, submap, reset
|
||
|
||
bind = , Ü, exec, waybar_mode unset && firefox https://translate.google.com
|
||
bind = , Ü, submap, reset
|
||
|
||
bind = , N, exec, waybar_mode unset && firefox https://Netflix.com
|
||
bind = , N, submap, reset
|
||
|
||
bind = , A, exec, waybar_mode unset && firefox https://www.amazon.de/b?node=3010075031&ref_=nav_ya_signin
|
||
bind = , A, submap, reset
|
||
|
||
bind = , D, exec, waybar_mode unset && firefox https://www.disneyplus.com/home
|
||
bind = , D, submap, reset
|
||
|
||
bind = , H, exec, waybar_mode unset && firefox https://www.hs-mittweida.de
|
||
bind = , H, submap, reset
|
||
|
||
bind = , X, exec, waybar_mode unset && firefox https://nx2.site
|
||
bind = , X, submap, reset
|
||
|
||
bind = , L, exec, waybar_mode unset && firefox https://feddit.de
|
||
bind = , L, submap, reset
|
||
|
||
bind = , I, exec, waybar_mode unset && firefox https://www.imdb.com
|
||
bind = , I, submap, reset
|
||
|
||
bind = , M, exec, waybar_mode unset && firefox https://ieji.de/home
|
||
bind = , M, submap, reset
|
||
|
||
bind = , S, exec, waybar_mode unset && firefox 127.0.0.1:8384/
|
||
bind = , S, submap, reset
|
||
|
||
bind = , Escape, exec, waybar_mode unset
|
||
bind = , Escape, submap, reset
|
||
submap = reset
|
||
|
||
|
||
submap = scrL
|
||
bind = , 1, execr, waybar_mode unset
|
||
bind = , 1, workspace, 21
|
||
bind = , 1, submap, reset
|
||
bind = SUPER, 1, execr, waybar_mode unset
|
||
bind = SUPER, 1, workspace, 21
|
||
bind = SUPER, 1, submap, reset
|
||
bind = SUPER SHIFT, 1, execr, waybar_mode unset
|
||
bind = SUPER SHIFT, 1, movetoworkspace, 21
|
||
bind = SUPER SHIFT, 1, submap, reset
|
||
|
||
bind = , 2, execr, waybar_mode unset
|
||
bind = , 2, workspace, 22
|
||
bind = , 2, submap, reset
|
||
bind = SUPER, 2, execr, waybar_mode unset
|
||
bind = SUPER, 2, workspace, 22
|
||
bind = SUPER, 2, submap, reset
|
||
bind = SUPER SHIFT, 2, execr, waybar_mode unset
|
||
bind = SUPER SHIFT, 2, movetoworkspace, 22
|
||
bind = SUPER SHIFT, 2, submap, reset
|
||
|
||
bind = , 3, execr, waybar_mode unset
|
||
bind = , 3, workspace, 23
|
||
bind = , 3, submap, reset
|
||
bind = SUPER, 3, execr, waybar_mode unset
|
||
bind = SUPER, 3, workspace, 23
|
||
bind = SUPER, 3, submap, reset
|
||
bind = SUPER SHIFT, 3, execr, waybar_mode unset
|
||
bind = SUPER SHIFT, 3, movetoworkspace, 23
|
||
bind = SUPER SHIFT, 3, submap, reset
|
||
|
||
bind = , 4, execr, waybar_mode unset
|
||
bind = , 4, workspace, 24
|
||
bind = , 4, submap, reset
|
||
bind = SUPER, 4, execr, waybar_mode unset
|
||
bind = SUPER, 4, workspace, 24
|
||
bind = SUPER, 4, submap, reset
|
||
bind = SUPER SHIFT, 4, execr, waybar_mode unset
|
||
bind = SUPER SHIFT, 4, movetoworkspace, 24
|
||
bind = SUPER SHIFT, 4, submap, reset
|
||
|
||
bind = , 5, execr, waybar_mode unset
|
||
bind = , 5, workspace, 25
|
||
bind = , 5, submap, reset
|
||
bind = SUPER, 5, execr, waybar_mode unset
|
||
bind = SUPER, 5, workspace, 25
|
||
bind = SUPER, 5, submap, reset
|
||
bind = SUPER SHIFT, 5, execr, waybar_mode unset
|
||
bind = SUPER SHIFT, 5, movetoworkspace, 25
|
||
bind = SUPER SHIFT, 5, submap, reset
|
||
|
||
bind = , 6, execr, waybar_mode unset
|
||
bind = , 6, workspace, 26
|
||
bind = , 6, submap, reset
|
||
bind = SUPER, 6, execr, waybar_mode unset
|
||
bind = SUPER, 6, workspace, 26
|
||
bind = SUPER, 6, submap, reset
|
||
bind = SUPER SHIFT, 6, execr, waybar_mode unset
|
||
bind = SUPER SHIFT, 6, movetoworkspace, 26
|
||
bind = SUPER SHIFT, 6, submap, reset
|
||
|
||
bind = , 7, execr, waybar_mode unset
|
||
bind = , 7, workspace, 27
|
||
bind = , 7, submap, reset
|
||
bind = SUPER, 7, execr, waybar_mode unset
|
||
bind = SUPER, 7, workspace, 27
|
||
bind = SUPER, 7, submap, reset
|
||
bind = SUPER SHIFT, 7, execr, waybar_mode unset
|
||
bind = SUPER SHIFT, 7, movetoworkspace, 27
|
||
bind = SUPER SHIFT, 7, submap, reset
|
||
|
||
bind = , 8, execr, waybar_mode unset
|
||
bind = , 8, workspace, 28
|
||
bind = , 8, submap, reset
|
||
bind = SUPER, 8, execr, waybar_mode unset
|
||
bind = SUPER, 8, workspace, 28
|
||
bind = SUPER, 8, submap, reset
|
||
bind = SUPER SHIFT, 8, execr, waybar_mode unset
|
||
bind = SUPER SHIFT, 8, movetoworkspace, 28
|
||
bind = SUPER SHIFT, 8, submap, reset
|
||
|
||
bind = , 9, execr, waybar_mode unset
|
||
bind = , 9, workspace, 29
|
||
bind = , 9, submap, reset
|
||
bind = SUPER, 9, execr, waybar_mode unset
|
||
bind = SUPER, 9, workspace, 29
|
||
bind = SUPER, 9, submap, reset
|
||
bind = SUPER SHIFT, 9, execr, waybar_mode unset
|
||
bind = SUPER SHIFT, 9, movetoworkspace, 29
|
||
bind = SUPER SHIFT, 9, submap, reset
|
||
|
||
bind = , 0, execr, waybar_mode unset
|
||
bind = , 0, workspace, 20
|
||
bind = , 0, submap, reset
|
||
bind = SUPER, 0, execr, waybar_mode unset
|
||
bind = SUPER, 0, workspace, 20
|
||
bind = SUPER, 0, submap, reset
|
||
bind = SUPER SHIFT, 0, execr, waybar_mode unset
|
||
bind = SUPER SHIFT, 0, movetoworkspace, 20
|
||
bind = SUPER SHIFT, 0, submap, reset
|
||
|
||
|
||
bind = , A, execr, waybar_mode unset
|
||
bind = , A, submap, reset
|
||
bind = , Escape, execr, waybar_mode unset
|
||
bind = , Escape, submap, reset
|
||
submap = reset
|
||
|
||
|
||
submap = scrR
|
||
bind = , 1, execr, waybar_mode unset
|
||
bind = , 1, workspace, 31
|
||
bind = , 1, submap, reset
|
||
bind = SUPER, 1, execr, waybar_mode unset
|
||
bind = SUPER, 1, workspace, 31
|
||
bind = SUPER, 1, submap, reset
|
||
bind = SUPER SHIFT, 1, execr, waybar_mode unset
|
||
bind = SUPER SHIFT, 1, movetoworkspace, 31
|
||
bind = SUPER SHIFT, 1, submap, reset
|
||
|
||
bind = , 2, execr, waybar_mode unset
|
||
bind = , 2, workspace, 32
|
||
bind = , 2, submap, reset
|
||
bind = SUPER, 2, execr, waybar_mode unset
|
||
bind = SUPER, 2, workspace, 32
|
||
bind = SUPER, 2, submap, reset
|
||
bind = SUPER SHIFT, 2, execr, waybar_mode unset
|
||
bind = SUPER SHIFT, 2, movetoworkspace, 32
|
||
bind = SUPER SHIFT, 2, submap, reset
|
||
|
||
bind = , 3, execr, waybar_mode unset
|
||
bind = , 3, workspace, 33
|
||
bind = , 3, submap, reset
|
||
bind = SUPER, 3, execr, waybar_mode unset
|
||
bind = SUPER, 3, workspace, 33
|
||
bind = SUPER, 3, submap, reset
|
||
bind = SUPER SHIFT, 3, execr, waybar_mode unset
|
||
bind = SUPER SHIFT, 3, movetoworkspace, 33
|
||
bind = SUPER SHIFT, 3, submap, reset
|
||
|
||
bind = , 4, execr, waybar_mode unset
|
||
bind = , 4, workspace, 34
|
||
bind = , 4, submap, reset
|
||
bind = SUPER, 4, execr, waybar_mode unset
|
||
bind = SUPER, 4, workspace, 34
|
||
bind = SUPER, 4, submap, reset
|
||
bind = SUPER SHIFT, 4, execr, waybar_mode unset
|
||
bind = SUPER SHIFT, 4, movetoworkspace, 34
|
||
bind = SUPER SHIFT, 4, submap, reset
|
||
|
||
bind = , 5, execr, waybar_mode unset
|
||
bind = , 5, workspace, 35
|
||
bind = , 5, submap, reset
|
||
bind = SUPER, 5, execr, waybar_mode unset
|
||
bind = SUPER, 5, workspace, 35
|
||
bind = SUPER, 5, submap, reset
|
||
bind = SUPER SHIFT, 5, execr, waybar_mode unset
|
||
bind = SUPER SHIFT, 5, movetoworkspace, 35
|
||
bind = SUPER SHIFT, 5, submap, reset
|
||
|
||
bind = , 6, execr, waybar_mode unset
|
||
bind = , 6, workspace, 36
|
||
bind = , 6, submap, reset
|
||
bind = SUPER, 6, execr, waybar_mode unset
|
||
bind = SUPER, 6, workspace, 36
|
||
bind = SUPER, 6, submap, reset
|
||
bind = SUPER SHIFT, 6, execr, waybar_mode unset
|
||
bind = SUPER SHIFT, 6, movetoworkspace, 36
|
||
bind = SUPER SHIFT, 6, submap, reset
|
||
|
||
bind = , 7, execr, waybar_mode unset
|
||
bind = , 7, workspace, 37
|
||
bind = , 7, submap, reset
|
||
bind = SUPER, 7, execr, waybar_mode unset
|
||
bind = SUPER, 7, workspace, 37
|
||
bind = SUPER, 7, submap, reset
|
||
bind = SUPER SHIFT, 7, execr, waybar_mode unset
|
||
bind = SUPER SHIFT, 7, movetoworkspace, 37
|
||
bind = SUPER SHIFT, 7, submap, reset
|
||
|
||
bind = , 8, execr, waybar_mode unset
|
||
bind = , 8, workspace, 38
|
||
bind = , 8, submap, reset
|
||
bind = SUPER, 8, execr, waybar_mode unset
|
||
bind = SUPER, 8, workspace, 38
|
||
bind = SUPER, 8, submap, reset
|
||
bind = SUPER SHIFT, 8, execr, waybar_mode unset
|
||
bind = SUPER SHIFT, 8, movetoworkspace, 38
|
||
bind = SUPER SHIFT, 8, submap, reset
|
||
|
||
bind = , 9, execr, waybar_mode unset
|
||
bind = , 9, workspace, 39
|
||
bind = , 9, submap, reset
|
||
bind = SUPER, 9, execr, waybar_mode unset
|
||
bind = SUPER, 9, workspace, 39
|
||
bind = SUPER, 9, submap, reset
|
||
bind = SUPER SHIFT, 9, execr, waybar_mode unset
|
||
bind = SUPER SHIFT, 9, movetoworkspace, 39
|
||
bind = SUPER SHIFT, 9, submap, reset
|
||
|
||
bind = , 0, execr, waybar_mode unset
|
||
bind = , 0, workspace, 30
|
||
bind = , 0, submap, reset
|
||
bind = SUPER, 0, execr, waybar_mode unset
|
||
bind = SUPER, 0, workspace, 30
|
||
bind = SUPER, 0, submap, reset
|
||
bind = SUPER SHIFT, 0, execr, waybar_mode unset
|
||
bind = SUPER SHIFT, 0, movetoworkspace, 30
|
||
bind = SUPER SHIFT, 0, submap, reset
|
||
|
||
bind = , Y, execr, waybar_mode unset
|
||
bind = , Y, submap, reset
|
||
bind = , Escape, execr, waybar_mode unset
|
||
bind = , Escape, submap, reset
|
||
submap = reset
|
||
'';
|
||
};
|
||
}
|
||
|
||
|
||
# plugin {
|
||
# hycov {
|
||
# overview_gappo = 60 # gaps width from screen edge
|
||
# overview_gappi = 24 # gaps width from clients
|
||
# enable_hotarea = 0 # enable mouse cursor hotarea
|
||
# # hotarea_monitor = all # monitor name which hotarea is in, default is all
|
||
# # hotarea_pos = 1 # position of hotarea (1: bottom left, 2: bottom right, 3: top left, 4: top right)
|
||
# # hotarea_size = 10 # hotarea size, 10x10
|
||
# # swipe_fingers = 4 # finger number of gesture,move any directory
|
||
# move_focus_distance = 100 # distance for movefocus,only can use 3 finger to move
|
||
# enable_gesture = 0 # enable gesture
|
||
# disable_workspace_change = 0 # disable workspace change when in overview mode
|
||
# disable_spawn = 0 # disable bind exec when in overview mode
|
||
# auto_exit = 1 # enable auto exit when no client in overview
|
||
# auto_fullscreen = 0 # auto make active window maximize after exit overview
|
||
# only_active_workspace = 0 # only overview the active workspace
|
||
# only_active_monitor = 1 # only overview the active monitor
|
||
# enable_alt_release_exit = 0 # alt swith mode arg,see readme for detail
|
||
# alt_replace_key = Alt_L # alt swith mode arg,see readme for detail
|
||
# alt_toggle_auto_next = 0 # auto focus next window when toggle overview in alt swith mode
|
||
# click_in_cursor = 0 # when click to jump,the target windwo is find by cursor, not the current foucus window.
|
||
# hight_of_titlebar = 0 # height deviation of title bar hight
|
||
# }
|
||
# }
|