1
Fork 0
mirror of https://github.com/RGBCube/ncc synced 2025-07-31 03:57:44 +00:00

Fix hyprland move keybinds

This commit is contained in:
RGBCube 2023-11-27 15:02:06 +03:00
parent 0456b770b7
commit 8dbbe0f776
No known key found for this signature in database
8 changed files with 39 additions and 34 deletions

6
flake.lock generated
View file

@ -164,11 +164,11 @@
}, },
"themes": { "themes": {
"locked": { "locked": {
"lastModified": 1701030543, "lastModified": 1701157732,
"narHash": "sha256-wjGW7Zkzw3L/jBfg7pI7yzO5aVFspwUiZjByXftctlc=", "narHash": "sha256-q1EWrb1PLWEloHVKk4rl8wC2uTsiQxuhsok1sI3xBJw=",
"owner": "RGBCube", "owner": "RGBCube",
"repo": "ThemeNix", "repo": "ThemeNix",
"rev": "75f65de9384a0b3698e4cfa537a5f843a604cda6", "rev": "f51353fe8a47059e8019058ffc64c5dd4f60e662",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -12,7 +12,7 @@ homeConfiguration [ "nixos" "root" ] {
}; };
programs.bat = with upkgs.theme; enabled { programs.bat = with upkgs.theme; enabled {
config.theme = slug; config.theme = "default";
themes.${slug} = tmTheme; themes.default = tmTheme;
}; };
} }

View file

@ -17,8 +17,8 @@ homeConfiguration "nixos" {
frame_width = 2; frame_width = 2;
seperator_color = "frame"; seperator_color = "frame";
background = background; background = base00;
foreground = lightForeground; foreground = base05;
alignment = "center"; alignment = "center";
font = "OpenSans 12"; font = "OpenSans 12";

View file

@ -17,12 +17,12 @@ homeConfiguration "nixos" {
}; };
settings.colors = with upkgs.theme; { settings.colors = with upkgs.theme; {
background = background + "FF"; background = base00 + "FF";
text = lightForeground + "FF"; text = base05 + "FF";
match = base0A + "FF"; match = base0A + "FF";
selection = lightForeground + "FF"; selection = base05 + "FF";
selection-text = background + "FF"; selection-text = base00 + "FF";
border = base0A + "FF"; border = base0A + "FF";
}; };
settings.border = { settings.border = {

View file

@ -1,4 +1,4 @@
{ lib, pkgs, systemConfiguration, homeConfiguration, enabled, ... }: lib.recursiveUpdate { lib, pkgs, upkgs, systemConfiguration, homeConfiguration, enabled, ... }: lib.recursiveUpdate
(systemConfiguration { (systemConfiguration {
programs.dconf = enabled {}; programs.dconf = enabled {};
@ -18,9 +18,14 @@
}; };
theme = { theme = {
name = "Gruvbox-Dark-BL"; name = "Adwaita-Dark";
package = pkgs.gruvbox-gtk-theme; package = pkgs.gnome-themes-extra;
}; };
}; };
xdg.configFile = {
"gtk-3.0/gtk.css".text = upkgs.theme.adwaitaGtkCss;
"gtk-4.0/gtk.css".text = upkgs.theme.adwaitaGtkCss;
};
}) })

View file

@ -41,20 +41,20 @@
+ +
'' ''
binde = SUPER, left, movefocus, l binde = SUPER, left, movefocus, l
binde = SUPER, up, movefocus, u
binde = SUPER, down, movefocus, d binde = SUPER, down, movefocus, d
binde = SUPER, up, movefocus, u
binde = SUPER, right, movefocus, r binde = SUPER, right, movefocus, r
binde = SUPER, h, movefocus, l binde = SUPER, h, movefocus, l
binde = SUPER, k, movefocus, u
binde = SUPER, j, movefocus, d binde = SUPER, j, movefocus, d
binde = SUPER, k, movefocus, u
binde = SUPER, l, movefocus, r binde = SUPER, l, movefocus, r
'' ''
+ +
'' ''
binde = SUPER+CTRL, left, resizeactive, -10 0 binde = SUPER+CTRL, left, resizeactive, -10 0
binde = SUPER+CTRL, up, resizeactive, 0 -10
binde = SUPER+CTRL, down, resizeactive, 0 10 binde = SUPER+CTRL, down, resizeactive, 0 10
binde = SUPER+CTRL, up, resizeactive, 0 -10
binde = SUPER+CTRL, right, resizeactive, 10 0 binde = SUPER+CTRL, right, resizeactive, 10 0
binde = SUPER+CTRL, h, resizeactive, -10 0 binde = SUPER+CTRL, h, resizeactive, -10 0
@ -65,13 +65,13 @@
+ +
'' ''
bind = SUPER+ALT, left, movewindow, l bind = SUPER+ALT, left, movewindow, l
bind = SUPER+ALT, up, movewindow, u
bind = SUPER+ALT, down, movewindow, d bind = SUPER+ALT, down, movewindow, d
bind = SUPER+ALT, up, movewindow, u
bind = SUPER+ALT, right, movewindow, r bind = SUPER+ALT, right, movewindow, r
bind = SUPER+ALT, h, movewindow, l bind = SUPER+ALT, h, movewindow, l
bind = SUPER+ALT, j, movewindow, u bind = SUPER+ALT, j, movewindow, d
bind = SUPER+ALT, k, movewindow, d bind = SUPER+ALT, k, movewindow, u
bind = SUPER+ALT, l, movewindow, r bind = SUPER+ALT, l, movewindow, r
'' ''
+ +

View file

@ -22,8 +22,8 @@ homeConfiguration "nixos" {
scrollback_lines = 100000; scrollback_lines = 100000;
scrollback_pager = "bat --chop-long-lines"; scrollback_pager = "bat --chop-long-lines";
cursor = lightForeground; cursor = base05;
cursor_theme_color = background; cursor_theme_color = base00;
cursor_shape = "beam"; cursor_shape = "beam";
url_color = base0D; url_color = base0D;
@ -36,20 +36,20 @@ homeConfiguration "nixos" {
inactive_border_color = base01; inactive_border_color = base01;
window_border_width = "0pt"; window_border_width = "0pt";
background = background; background = base00;
foreground = lightForeground; foreground = base05;
selection_background = lightForeground; selection_background = base02;
selection_foreground = background; selection_foreground = base00;
tab_bar_edge = "top"; tab_bar_edge = "top";
tab_bar_style = "powerline"; tab_bar_style = "powerline";
active_tab_background = background; active_tab_background = base00;
active_tab_foreground = lightForeground; active_tab_foreground = base05;
inactive_tab_background = lighterBackground; inactive_tab_background = base01;
inactive_tab_foreground = lightForeground; inactive_tab_foreground = base05;
color0 = base00; color0 = base00;
color1 = base08; color1 = base08;

View file

@ -124,8 +124,8 @@ homeConfiguration "nixos" {
} }
#waybar { #waybar {
background: ${background}; background: ${base00};
color: ${lightForeground}; color: ${base05};
} }
#waybar:hover { #waybar:hover {