waybar changes 1
This commit is contained in:
@@ -13,14 +13,13 @@ in {
|
||||
wayland.windowManager.hyprland.settings = {
|
||||
general = {
|
||||
gaps_in = 2;
|
||||
gaps_out = 4;
|
||||
gaps_out = "4, 4, 4, 4";
|
||||
border_size = 3;
|
||||
#col.active_border = rgba(33ccffee) rgba(00ff99ee) 45deg
|
||||
#col.inactive_border = rgba(595959aa)
|
||||
"col.active_border" = "rgb(4c7a5d)"; # rgba(b16286ee) 45deg
|
||||
"col.inactive_border" = "rgb(504945)";
|
||||
layout = "dwindle";
|
||||
allow_tearing = false;
|
||||
resize_on_border = true;
|
||||
};
|
||||
decoration = {
|
||||
@@ -32,13 +31,13 @@ in {
|
||||
noise = 0.01;
|
||||
vibrancy = 0.15;
|
||||
vibrancy_darkness = 0.5;
|
||||
passes = 2;
|
||||
size = 7;
|
||||
passes = 1;
|
||||
size = 3;
|
||||
popups = true;
|
||||
popups_ignorealpha = 0.2;
|
||||
};
|
||||
shadow = {
|
||||
enabled = true;
|
||||
enabled = false;
|
||||
color = "rgba(00000025)";
|
||||
ignore_window = true;
|
||||
offset = "0 5";
|
||||
|
||||
@@ -63,13 +63,14 @@ in {
|
||||
};
|
||||
|
||||
misc = {
|
||||
vrr = 0;
|
||||
mouse_move_enables_dpms = 1;
|
||||
key_press_enables_dpms = 0;
|
||||
force_default_wallpaper = 0;
|
||||
disable_hyprland_logo = true;
|
||||
disable_splash_rendering = true;
|
||||
disable_autoreload = true;
|
||||
disable_xdg_env_checks = true;
|
||||
layers_hog_keyboard_focus = false;
|
||||
};
|
||||
|
||||
xwayland = {
|
||||
@@ -78,6 +79,40 @@ in {
|
||||
};
|
||||
}
|
||||
|
||||
(mkIf (host == "cnix") {
|
||||
wayland.windowManager.hyprland.settings = {
|
||||
render = {
|
||||
explicit_sync = 2;
|
||||
explicit_sync_kms = 2;
|
||||
direct_scanout = false;
|
||||
};
|
||||
cursor = {
|
||||
no_hardware_cursors = 2;
|
||||
};
|
||||
general = {
|
||||
allow_tearing = false;
|
||||
};
|
||||
misc = {
|
||||
vrr = 0;
|
||||
};
|
||||
};
|
||||
})
|
||||
|
||||
(mkIf (host == "cnixpad") {
|
||||
wayland.windowManager.hyprland.settings = {
|
||||
input = {
|
||||
kb_options = "ctrl:swapcaps";
|
||||
};
|
||||
general = {
|
||||
allow_tearing = false;
|
||||
};
|
||||
misc = {
|
||||
vrr = 0;
|
||||
vfr = 1;
|
||||
};
|
||||
};
|
||||
})
|
||||
|
||||
(mkIf (host == "toothpc") {
|
||||
wayland.windowManager.hyprland.settings = {
|
||||
render = {
|
||||
@@ -88,26 +123,11 @@ in {
|
||||
cursor = {
|
||||
no_hardware_cursors = true;
|
||||
};
|
||||
};
|
||||
})
|
||||
|
||||
(mkIf (host != "toothpc") {
|
||||
wayland.windowManager.hyprland.settings = {
|
||||
render = {
|
||||
explicit_sync = 2;
|
||||
explicit_sync_kms = 2;
|
||||
direct_scanout = false;
|
||||
general = {
|
||||
allow_tearing = false;
|
||||
};
|
||||
cursor = {
|
||||
no_hardware_cursors = 2;
|
||||
};
|
||||
};
|
||||
})
|
||||
|
||||
(mkIf (host == "cnixpad") {
|
||||
wayland.windowManager.hyprland.settings = {
|
||||
input = {
|
||||
kb_options = "ctrl:swapcaps";
|
||||
misc = {
|
||||
vrr = 0;
|
||||
};
|
||||
};
|
||||
})
|
||||
|
||||
@@ -24,26 +24,24 @@ in {
|
||||
wayland.windowManager.hyprland.settings = {
|
||||
# Common Keybind Variables
|
||||
"$fileManager" = "thunar";
|
||||
"$menu" = "pkill anyrun || anyrun | xargs hyprctl dispatch exec --";
|
||||
"$menuw" = "pkill anyrun || anyrun | xargs hyprctl dispatch exec --";
|
||||
"$yazi" = "foot -e yazi";
|
||||
"$tuirun" = "tuirun-toggle.sh";
|
||||
"$tuirun" = "uwsm app -- tuirun-toggle.sh";
|
||||
|
||||
bind = [
|
||||
"$mod, L, exec, ${runOnce "hyprlock"}"
|
||||
"$mod, SPACE, exec, $tuirun"
|
||||
"$mod, R, exec, $tuirun"
|
||||
"$mod, L, exec, ${toggle "nwg-bar"}"
|
||||
"$mod SHIFT, B, exec, pkill -SIGUSR2 waybar"
|
||||
"$mod, A, exec, pkill -SIGUSR1 waybar"
|
||||
"$mod, T, exec, uwsm app $terminal"
|
||||
"$mod, T, exec, uwsm app -- $terminal"
|
||||
"$mod, W, exec, $browser"
|
||||
"$mod, K, exec, keepassxc"
|
||||
"$mod SHIFT, W, exec, $browserinc"
|
||||
"$mod, Q, killactive,"
|
||||
"$mod, E, exec, uwsm app -- $fileManager"
|
||||
"$mod, R, exec, $tuirun"
|
||||
"$mod SHIFT, E, exec, $yazi"
|
||||
"$mod, F, fullscreen,"
|
||||
"$mod SHIFT, F, togglefloating,"
|
||||
"$mod, SPACE, exec, $tuirun"
|
||||
"$mod, P, pseudo,"
|
||||
"$mod, J, togglesplit,"
|
||||
"$mod, C, exec, hyprctl dispatch exec copyq toggle"
|
||||
@@ -71,17 +69,20 @@ in {
|
||||
"$mod SHIFT, 8, movetoworkspace, 8"
|
||||
"$mod SHIFT, 9, movetoworkspace, 9"
|
||||
"$mod SHIFT, 0, movetoworkspace, 10"
|
||||
",XF86AudioLowerVolume, exec, pamixer -d 5"
|
||||
",XF86AudioRaiseVolume, exec, pamixer -i 5"
|
||||
",XF86AudioMute, exec, pamixer -t"
|
||||
",XF86AudioMicMute, exec, pactl -- set-source-mute 0 toggle"
|
||||
|
||||
",XF86AudioLowerVolume, exec, volume-control.sh --dec"
|
||||
",XF86AudioRaiseVolume, exec, volume-control.sh --inc"
|
||||
",XF86AudioMute, exec, volume-control.sh --toggle"
|
||||
",XF86AudioMicMute, exec, volume-control.sh --toggle-mic"
|
||||
|
||||
",XF86MonBrightnessDown, exec, brightnessctl s 5%-"
|
||||
",XF86MonBrightnessUp, exec, brightnessctl s +5%"
|
||||
"$mod, XF86MonBrightnessUp, exec, hyprctl dispatch dpms on"
|
||||
"$mod, XF86MonBrightnessDown, exec, hyprctl dispatch dpms off"
|
||||
",Insert,exec,${lib.getExe pkgs.grimblast} --notify --freeze copysave area"
|
||||
"SHIFT,Insert,exec,${lib.getExe pkgs.grimblast} --notify --freeze copysave output"
|
||||
"ALT,Insert,exec,${lib.getExe pkgs.grimblast} --freeze save area - | ${lib.getExe pkgs.tesseract} - - | wl-copy && ${lib.getExe pkgs.libnotify}/bin/notify-send -t 3000 'OCR result copied to buffer'"
|
||||
|
||||
",Insert, exec, ${runOnce "grimblast"} --notify --freeze copysave area"
|
||||
"SHIFT, Insert, exec, ${runOnce "grimblast"} --notify --freeze copysave output"
|
||||
"ALT, Insert, exec, ${runOnce "grimblast"} --freeze save area - | ${runOnce "tesseract"} - - | wl-copy && ${runOnce "notify-send"} -t 3000 'OCR result copied to buffer'"
|
||||
"$mod, S, togglespecialworkspace, magic"
|
||||
"$mod SHIFT, S, movetoworkspace, special:magic"
|
||||
];
|
||||
|
||||
@@ -62,9 +62,22 @@ in {
|
||||
"float, class:^(blueman-manager)$"
|
||||
"float, class:^(floatranger)$"
|
||||
"float, class:^(floatnnn)$"
|
||||
"float, class:^(uwsm app -- tuirun)$"
|
||||
];
|
||||
|
||||
windowrule = [];
|
||||
layerrule = [
|
||||
"animation fade,hyprpicker"
|
||||
"animation fade,selection"
|
||||
|
||||
"noanim,waybar"
|
||||
"ignorezero,waybar"
|
||||
"ignorealpha 0.0,waybar"
|
||||
|
||||
"blur,notifications"
|
||||
"ignorezero,notifications"
|
||||
|
||||
"noanim,wallpaper"
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user