修改hyprland样式,增加nextcloud-client
This commit is contained in:
@@ -17,7 +17,7 @@ $filemanager = dolphin
|
|||||||
################################################
|
################################################
|
||||||
# Main actions
|
# Main actions
|
||||||
################################################
|
################################################
|
||||||
bind = $mainMod, Q, exec, ~/.config/hypr/scripts/dontkillsteam.sh # killactive, # kill the window on focus
|
bind = $mainMod, C, exec, ~/.config/hypr/scripts/dontkillsteam.sh # killactive, # kill the window on focus
|
||||||
bind = $mainMod CTRL, delete, exit, # kill hyperland session
|
bind = $mainMod CTRL, delete, exit, # kill hyperland session
|
||||||
bind = $mainMod, F, togglefloating, # toggle the window on focus to float
|
bind = $mainMod, F, togglefloating, # toggle the window on focus to float
|
||||||
bind = $mainMod CTRL, L, exec, swaylock # lock screen
|
bind = $mainMod CTRL, L, exec, swaylock # lock screen
|
||||||
|
|||||||
@@ -22,6 +22,9 @@ windowrulev2 = center,class:^(.*)$,title:^(Save [Ff]ile)
|
|||||||
windowrulev2 = float,class:^(.*)$,title:^(Save [Aa]s)
|
windowrulev2 = float,class:^(.*)$,title:^(Save [Aa]s)
|
||||||
windowrulev2 = center,class:^(.*)$,title:^(Save [Aa]s)
|
windowrulev2 = center,class:^(.*)$,title:^(Save [Aa]s)
|
||||||
|
|
||||||
|
windowrulev2 = float,class:^(wechat)$,title:^(预览)$
|
||||||
|
windowrulev2 = center,class:^(wechat)$,title:^(预览)$
|
||||||
|
|
||||||
windowrulev2 = center,class:^(.*)$,title:^(Location)$
|
windowrulev2 = center,class:^(.*)$,title:^(Location)$
|
||||||
windowrulev2 = center,class:^(Code)$
|
windowrulev2 = center,class:^(Code)$
|
||||||
|
|
||||||
|
|||||||
@@ -66,13 +66,17 @@
|
|||||||
"format-window-separator": " ",
|
"format-window-separator": " ",
|
||||||
"window-rewrite-default": "",
|
"window-rewrite-default": "",
|
||||||
"window-rewrite": {
|
"window-rewrite": {
|
||||||
|
"fcitx": "",
|
||||||
|
"code": "",
|
||||||
|
"Cursor": "",
|
||||||
|
"jetbrains-idea-ce": "",
|
||||||
|
"dbeaver": "",
|
||||||
|
|
||||||
"class<microsoft-edge>": "",
|
"class<microsoft-edge>": "",
|
||||||
"class<chromium-browser>": "",
|
"class<chromium-browser>": "",
|
||||||
"title<.*youtube.*>": "",
|
"title<.*youtube.*>": "",
|
||||||
"rofi": "",
|
"rofi": "",
|
||||||
"kitty": "",
|
"kitty": "",
|
||||||
"code": "",
|
|
||||||
"Cursor": "",
|
|
||||||
"org.gnome.Nautilus": "",
|
"org.gnome.Nautilus": "",
|
||||||
"wechat": "",
|
"wechat": "",
|
||||||
"wps": "",
|
"wps": "",
|
||||||
@@ -129,14 +133,14 @@
|
|||||||
},
|
},
|
||||||
|
|
||||||
"cpu": {
|
"cpu": {
|
||||||
"interval": 10,
|
"interval": 5,
|
||||||
"format": " {usage}%",
|
"format": " {usage}%",
|
||||||
"format-alt": "{icon0}{icon1}{icon2}{icon3}",
|
"format-alt": "{icon0}{icon1}{icon2}{icon3}",
|
||||||
"format-icons": ["▁", "▂", "▃", "▄", "▅", "▆", "▇", "█"]
|
"format-icons": ["▁", "▂", "▃", "▄", "▅", "▆", "▇", "█"]
|
||||||
},
|
},
|
||||||
|
|
||||||
"temperature": {
|
"temperature": {
|
||||||
"interval": 10,
|
"interval": 5,
|
||||||
"hwmon-path": "/sys/devices/platform/coretemp.0/hwmon/hwmon2/temp1_input",
|
"hwmon-path": "/sys/devices/platform/coretemp.0/hwmon/hwmon2/temp1_input",
|
||||||
"format": " {temperatureC}°C"
|
"format": " {temperatureC}°C"
|
||||||
},
|
},
|
||||||
@@ -151,14 +155,14 @@
|
|||||||
},
|
},
|
||||||
|
|
||||||
"network": {
|
"network": {
|
||||||
|
"interval": 5,
|
||||||
// "interface": "wlp2*", // (Optional) To force the use of this interface
|
// "interface": "wlp2*", // (Optional) To force the use of this interface
|
||||||
"format-wifi": " {essid}",
|
"format-wifi": " {essid}",
|
||||||
"format-ethernet": " Wired",
|
"format-ethernet": " Wired",
|
||||||
"tooltip-format": " {ipaddr} {bandwidthUpBytes} {bandwidthDownBytes}",
|
"tooltip-format": " {ipaddr} {bandwidthUpBytes} {bandwidthDownBytes}",
|
||||||
"format-linked": " {ifname} (No IP)",
|
"format-linked": " {ifname} (No IP)",
|
||||||
"format-disconnected": " Disconnected",
|
"format-disconnected": " Disconnected",
|
||||||
"format-alt": " {signalStrength}%",
|
"format-alt": " {signalStrength}%"
|
||||||
"interval": 5
|
|
||||||
},
|
},
|
||||||
|
|
||||||
"bluetooth": {
|
"bluetooth": {
|
||||||
|
|||||||
@@ -75,8 +75,8 @@
|
|||||||
download = config.home.homeDirectory + "/tmp";
|
download = config.home.homeDirectory + "/tmp";
|
||||||
videos = config.home.homeDirectory + "/tmp";
|
videos = config.home.homeDirectory + "/tmp";
|
||||||
pictures = config.home.homeDirectory + "/tmp";
|
pictures = config.home.homeDirectory + "/tmp";
|
||||||
templates = config.home.homeDirectory + "/tmp";
|
# templates = config.home.homeDirectory + "/tmp";
|
||||||
publicShare = config.home.homeDirectory + "/tmp";
|
# publicShare = config.home.homeDirectory + "/tmp";
|
||||||
extraConfig = {
|
extraConfig = {
|
||||||
XDG_SCREENSHOTS_DIR = config.home.homeDirectory + "/tmp/Screenshots";
|
XDG_SCREENSHOTS_DIR = config.home.homeDirectory + "/tmp/Screenshots";
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
history.size = 10000;
|
history.size = 10000;
|
||||||
history.ignoreAllDups = true;
|
history.ignoreAllDups = true;
|
||||||
history.path = "$HOME/.zsh_history";
|
history.path = "$HOME/.zsh_history";
|
||||||
history.ignorePatterns = [ "rm *" "pkill *" "cp *" ];
|
# history.ignorePatterns = [ "rm *" "pkill *" "cp *" ];
|
||||||
|
|
||||||
oh-my-zsh = {
|
oh-my-zsh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|||||||
@@ -1,6 +1,10 @@
|
|||||||
{ ... }: {
|
{ pkgs, ... }: {
|
||||||
imports = [
|
imports = [
|
||||||
./ssh
|
./ssh
|
||||||
./hyprland.nix
|
./hyprland.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
|
home.packages = with pkgs; [
|
||||||
|
nextcloud-client
|
||||||
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -5,7 +5,8 @@
|
|||||||
sessionVariables = {
|
sessionVariables = {
|
||||||
# for hyprland with nvidia gpu, ref https://wiki.hyprland.org/Nvidia/
|
# for hyprland with nvidia gpu, ref https://wiki.hyprland.org/Nvidia/
|
||||||
# 启用注释部分会导致NVIDIA下无法启动hyprland
|
# 启用注释部分会导致NVIDIA下无法启动hyprland
|
||||||
WLR_DRM_DEVICES = "/dev/dri/card1:/dev/dri/card0";
|
WLR_DRM_DEVICES = "/dev/dri/card1";
|
||||||
|
AQ_DRM_DEVICES = "/dev/dri/card1";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user