This commit is contained in:
The-Repo-Club 2023-08-28 14:15:10 +01:00
parent a67ad7b4e1
commit 68accbd3f4
No known key found for this signature in database
GPG Key ID: E30EC2FBFB05C44F
4 changed files with 289 additions and 158 deletions

View File

@ -3,8 +3,8 @@ general {
gaps_in = 5 gaps_in = 5
gaps_out = 10 gaps_out = 10
border_size = 2 border_size = 3
col.active_border = rgba(33ccffee) rgba(00ff99ee) 45deg col.active_border = rgba(33ccffee) rgba(00ff99ee) 90deg
col.inactive_border = rgba(595959aa) col.inactive_border = rgba(595959aa)
layout = dwindle layout = dwindle

View File

@ -4,40 +4,40 @@
# windowrulev2 = float,class:^(kitty)$,title:^(kitty)$ # windowrulev2 = float,class:^(kitty)$,title:^(kitty)$
# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more # See https://wiki.hyprland.org/Configuring/Window-Rules/ for more
windowrulev2 = float,class:^(blueman-manager)$ windowrulev2 = float,class:^([bB]lueman-[mM]anager)$
windowrulev2 = float,class:^(xdg-desktop-portal-gtk$) windowrulev2 = float,class:^(xdg-desktop-portal-gtk)$
# Set workspaces here # Set workspaces here
## Workspace 1 ## Workspace 1
windowrule = workspace 1,^(kitty)$ windowrule = workspace 1,^([kK]itty)$
windowrule = workspace 1,^(Alacritty)$ windowrule = workspace 1,^([Aa]lacritty)$
## Workspace 2 ## Workspace 2
windowrule = workspace 2,^(Code)$ windowrule = workspace 2,^([cC]ode)$
windowrule = workspace 2,^(nvim)$ windowrule = workspace 2,^([nN]vim)$
windowrule = workspace 2,^(jetbrains-studio)$ windowrule = workspace 2,^([jJ]etbrains-[sS]tudio)$
## Workspace 3 ## Workspace 3
windowrule = workspace 3,^(nemo)$ windowrule = workspace 3,^([nN]emo)$
## Workspace 4 ## Workspace 4
windowrule = workspace 4,^(Gimp)$ windowrule = workspace 4,^([gG]imp)$
## Workspace 5 ## Workspace 5
## Workspace 6 ## Workspace 6
windowrule = workspace 6,^(firefox)$ windowrule = workspace 6,^([fF]irefox)$
## Workspace 7 ## Workspace 7
## Workspace 8 ## Workspace 8
windowrule = workspace 8,^(Steam)$ windowrule = workspace 8,^([sS]team)$
windowrule = workspace 8,^(RuneScape)$ windowrule = workspace 8,^([rR]uneScape)$
## Workspace 9 ## Workspace 9
windowrule = workspace 9,^(discord)$ windowrule = workspace 9,^([dD]iscord)$
windowrule = workspace 9,^(Hexchat)$ windowrule = workspace 9,^([hH]exchat)$
## Workspace 10 ## Workspace 10
windowrule = workspace 10,^(pkgbrowser)$ windowrule = workspace 10,^([pP]kg[bB]rowser)$

View File

@ -1,136 +1,278 @@
{ [
"layer": "top", {
"position": "top", "layer": "top",
"mod": "dock", "position": "top",
"exclusive": true, "mod": "dock",
"passtrough": false, "exclusive": true,
"gtk-layer-shell": true, "passtrough": false,
"height": 0, "gtk-layer-shell": true,
"height": 0,
"output": ["eDP-1"],
"modules-left": ["wlr/workspaces", "hyprland/window"], "modules-left": ["wlr/workspaces", "hyprland/window"],
"modules-center": ["cpu", "memory", "temperature", "disk"], "modules-center": ["cpu", "memory", "temperature", "disk"],
"modules-right": ["hyprland/language", "backlight", "pulseaudio", "battery", "clock#time", "clock#date", "tray"], "modules-right": ["tray", "hyprland/language", "backlight", "pulseaudio", "battery", "clock#time", "clock#date"],
"wlr/workspaces": { "wlr/workspaces": {
"on-scroll-up": "hyprctl dispatch workspace e+1", "on-scroll-up": "hyprctl dispatch workspace e+1",
"on-scroll-down": "hyprctl dispatch workspace e-1", "on-scroll-down": "hyprctl dispatch workspace e-1",
"all-outputs": true, "all-outputs": true,
"on-click": "activate", "on-click": "activate",
"format": "{icon}", "format": "{icon}",
"format-icons": { "format-icons": {
"1": "一", "1": "一",
"2": "二", "2": "二",
"3": "三", "3": "三",
"4": "四", "4": "四",
"5": "五", "5": "五",
"6": "六", "6": "六",
"7": "七", "7": "七",
"8": "八", "8": "八",
"9": "九", "9": "九",
"10": "零" "10": "零"
},
"persistent_workspaces": {
"1": [],
"2": [],
"3": [],
"4": [],
"5": [],
"6": [],
"7": [],
"8": [],
"9": [],
"10": []
}
}, },
"persistent_workspaces": {
"1": [], "tray": {
"2": [], "icon-size": 16,
"3": [], "tooltip": false,
"4": [], "show-passive-items": true,
"5": [], "spacing": 10
"6": [], },
"7": [],
"8": [], "clock#time": {
"9": [], "format": "{:%H:%M}",
"10": [] "tooltip-format": "<big>{:%Y %B}</big>\n\n<tt><small>{calendar}</small></tt>"
},
"clock#date": {
"format": "{:%a %b %d}",
"tooltip-format": "<big>{:%Y %B}</big>\n\n<tt><small>{calendar}</small></tt>"
},
"backlight": {
"device": "intel_backlight",
"format": "{icon} {percent}%",
"format-icons": ["󰃞", "󰃟", "󰃠"],
"on-scroll-up": "brightnessctl set 2%+",
"on-scroll-down": "brightnessctl set 2%-",
"min-length": 6
},
"pulseaudio": {
"format": "{icon} {volume}%",
"format-muted": " Muted",
"tooltip": false,
"on-click": "pavucontrol &",
"scroll-step": 5,
"format-icons": {
"headphone": "",
"hands-free": "",
"headset": "",
"phone": "",
"portable": "",
"car": "",
"default": ["", "", ""]
}
},
"battery": {
"interval": 5,
"states": {
"good": 95,
"warning": 30,
"critical": 20
},
"format": "{icon} {capacity}%",
"format-charging": " {capacity}%",
"format-plugged": " {capacity}%",
"format-alt": "{icon} {time}",
"format-icons": ["󰂎", "󰁺", "󰁻", "󰁼", "󰁽", "󰁾", "󰁿", "󰂀", "󰂁", "󰂂", "󰁹"]
},
"cpu": {
"interval": 10,
"format": " {usage}%",
"max-length": 10,
"on-click": "kitty --start-as=fullscreen --title btop sh -c 'btop'"
},
"disk": {
"interval": 30,
"format": "󰋊 {percentage_used}%",
"path": "/",
"tooltip": true,
"tooltip-format": "HDD - {used} used out of {total} on {path} ({percentage_used}%)",
"on-click": "kitty --start-as=fullscreen --title btop sh -c 'btop'"
},
"memory": {
"interval": 30,
"format": "󰍛 {}%",
"max-length": 10,
"tooltip": true,
"tooltip-format": "Memory - {used:0.1f}GB used",
"on-click": "kitty --start-as=fullscreen --title btop sh -c 'btop'"
},
"temperature": {
"thermal-zone": 1,
"format": " {temperatureC}°C",
"critical-threshold": 70,
"format-critical": " {temperatureF}°F",
"on-click": "kitty --start-as=fullscreen --title btop sh -c 'btop'"
} }
}, },
{
"layer": "top",
"position": "bottom",
"mod": "dock",
"exclusive": true,
"passtrough": false,
"gtk-layer-shell": true,
"height": 0,
"output": ["eDP-1"],
"tray": { // "modules-left": ["wlr/workspaces", "hyprland/window"],
"icon-size": 12,
"tooltip": false,
"spacing": 10
},
"clock#time": { // "modules-center": ["cpu", "memory", "temperature", "disk"],
"format": "{:%H:%M}",
"tooltip-format": "<big>{:%Y %B}</big>\n\n<tt><small>{calendar}</small></tt>"
},
"clock#date": { // "modules-right": ["hyprland/language", "backlight", "pulseaudio", "battery", "clock#time", "clock#date"],
"format": "{:%a %b %d}",
"tooltip-format": "<big>{:%Y %B}</big>\n\n<tt><small>{calendar}</small></tt>"
},
"backlight": { "wlr/workspaces": {
"device": "intel_backlight", "on-scroll-up": "hyprctl dispatch workspace e+1",
"format": "{icon} {percent}%", "on-scroll-down": "hyprctl dispatch workspace e-1",
"format-icons": ["󰃞", "󰃟", "󰃠"], "all-outputs": true,
"on-scroll-up": "brightnessctl set 2%+", "on-click": "activate",
"on-scroll-down": "brightnessctl set 2%-", "format": "{icon}",
"min-length": 6 "format-icons": {
}, "1": "一",
"2": "二",
"pulseaudio": { "3": "三",
"format": "{icon} {volume}%", "4": "四",
"format-muted": " Muted", "5": "五",
"tooltip": false, "6": "六",
"on-click": "pavucontrol &", "7": "七",
"scroll-step": 5, "8": "八",
"format-icons": { "9": "九",
"headphone": "", "10": "零"
"hands-free": "", },
"headset": "", "persistent_workspaces": {
"phone": "", "1": [],
"portable": "", "2": [],
"car": "", "3": [],
"default": ["", "", ""] "4": [],
} "5": [],
}, "6": [],
"7": [],
"battery": { "8": [],
"interval": 5, "9": [],
"states": { "10": []
"good": 95, }
"warning": 30,
"critical": 20
}, },
"format": "{icon} {capacity}%",
"format-charging": " {capacity}%",
"format-plugged": " {capacity}%",
"format-alt": "{icon} {time}",
"format-icons": ["󰂎", "󰁺", "󰁻", "󰁼", "󰁽", "󰁾", "󰁿", "󰂀", "󰂁", "󰂂", "󰁹"]
},
"cpu": { "tray": {
"interval": 10, "icon-size": 16,
"format": " {usage}%", "tooltip": false,
"max-length": 10, "show-passive-items": true,
"on-click": "kitty --start-as=fullscreen --title btop sh -c 'btop'" "spacing": 10
}, },
"disk": { "clock#time": {
"interval": 30, "format": "{:%H:%M}",
"format": "󰋊 {percentage_used}%", "tooltip-format": "<big>{:%Y %B}</big>\n\n<tt><small>{calendar}</small></tt>"
"path": "/", },
"tooltip": true,
"tooltip-format": "HDD - {used} used out of {total} on {path} ({percentage_used}%)",
"on-click": "kitty --start-as=fullscreen --title btop sh -c 'btop'"
},
"memory": { "clock#date": {
"interval": 30, "format": "{:%a %b %d}",
"format": "󰍛 {}%", "tooltip-format": "<big>{:%Y %B}</big>\n\n<tt><small>{calendar}</small></tt>"
"max-length": 10, },
"tooltip": true,
"tooltip-format": "Memory - {used:0.1f}GB used",
"on-click": "kitty --start-as=fullscreen --title btop sh -c 'btop'"
},
"temperature": { "backlight": {
"thermal-zone": 1, "device": "intel_backlight",
"format": " {temperatureC}°C", "format": "{icon} {percent}%",
"critical-threshold": 70, "format-icons": ["󰃞", "󰃟", "󰃠"],
"format-critical": " {temperatureF}°F", "on-scroll-up": "brightnessctl set 2%+",
"on-click": "kitty --start-as=fullscreen --title btop sh -c 'btop'" "on-scroll-down": "brightnessctl set 2%-",
"min-length": 6
},
"pulseaudio": {
"format": "{icon} {volume}%",
"format-muted": " Muted",
"tooltip": false,
"on-click": "pavucontrol &",
"scroll-step": 5,
"format-icons": {
"headphone": "",
"hands-free": "",
"headset": "",
"phone": "",
"portable": "",
"car": "",
"default": ["", "", ""]
}
},
"battery": {
"interval": 5,
"states": {
"good": 95,
"warning": 30,
"critical": 20
},
"format": "{icon} {capacity}%",
"format-charging": " {capacity}%",
"format-plugged": " {capacity}%",
"format-alt": "{icon} {time}",
"format-icons": ["󰂎", "󰁺", "󰁻", "󰁼", "󰁽", "󰁾", "󰁿", "󰂀", "󰂁", "󰂂", "󰁹"]
},
"cpu": {
"interval": 10,
"format": " {usage}%",
"max-length": 10,
"on-click": "kitty --start-as=fullscreen --title btop sh -c 'btop'"
},
"disk": {
"interval": 30,
"format": "󰋊 {percentage_used}%",
"path": "/",
"tooltip": true,
"tooltip-format": "HDD - {used} used out of {total} on {path} ({percentage_used}%)",
"on-click": "kitty --start-as=fullscreen --title btop sh -c 'btop'"
},
"memory": {
"interval": 30,
"format": "󰍛 {}%",
"max-length": 10,
"tooltip": true,
"tooltip-format": "Memory - {used:0.1f}GB used",
"on-click": "kitty --start-as=fullscreen --title btop sh -c 'btop'"
},
"temperature": {
"thermal-zone": 1,
"format": " {temperatureC}°C",
"critical-threshold": 70,
"format-critical": " {temperatureF}°F",
"on-click": "kitty --start-as=fullscreen --title btop sh -c 'btop'"
}
} }
} ]

View File

@ -10,6 +10,8 @@
window#waybar { window#waybar {
background: #283036; background: #283036;
color: #e5e9f0; color: #e5e9f0;
border: #59ff59 2px solid;
border-radius: 15px;
} }
tooltip { tooltip {
@ -59,45 +61,27 @@ tooltip {
#network, #network,
#workspaces, #workspaces,
#temperature, #temperature,
#tray,
#language, #language,
#backlight { #backlight {
background: #ffff59; background: #ffff59;
color: #283036; color: #283036;
padding: 0px 5px; padding: 0px 5px;
margin: 0px; margin: 5px 0px;
} }
#tray { #tray {
margin-right: 0px; margin-right: 10px;
} }
#workspaces { #workspaces {
background: #ff9c59; background: #ff9c59;
color: #283036; color: #283036;
margin-left: 0px;
padding-right: 0px; padding-right: 0px;
padding-left: 0px; padding-left: 0px;
margin-left: 5px;
} }
#custom-caffeine { #clock.date,
color: #283036;
border-right: 0px;
margin-left: 10px;
}
#custom-language {
color: #283036;
border-left: 0px;
border-right: 0px;
}
#custom-updates {
color: #283036;
border-left: 0px;
border-right: 0px;
}
#window, #window,
#disk { #disk {
color: #283036; color: #283036;
@ -111,6 +95,10 @@ tooltip {
border-right: 0px; border-right: 0px;
} }
#clock.date {
margin-right: 5px;
}
#network { #network {
color: #283036; color: #283036;
border-left: 0px; border-left: 0px;
@ -140,6 +128,7 @@ tooltip {
margin-left: 0px; margin-left: 0px;
} }
#workspaces,
#language, #language,
#cpu { #cpu {
color: #283036; color: #283036;