from waybar + dunst to hyprpanel

This commit is contained in:
Thomas
2024-08-05 14:22:52 +02:00
parent 1e9a88a616
commit 4d86e8c2bc
7 changed files with 14 additions and 266 deletions
Submodule
+1
Submodule .config/ags added at d743c98a6a
-21
View File
@@ -1,21 +0,0 @@
[global]
frame_color = "#8aadf4"
separator_color= frame
font = JetBrains Mono Medium 12
markup = full
browser = firefox
corner_radius = 8
show_indicators = yes
[urgency_low]
background = "#24273a"
foreground = "#cad3f5"
[urgency_normal]
background = "#24273a"
foreground = "#cad3f5"
[urgency_critical]
background = "#24273a"
foreground = "#cad3f5"
frame_color = "#f5a97f"
+6 -4
View File
@@ -48,9 +48,9 @@ $menu = wofi --show drun
# exec-once = nm-applet & # exec-once = nm-applet &
# exec-once = waybar & hyprpaper & firefox # exec-once = waybar & hyprpaper & firefox
exec-once = /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 exec-once = /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
exec-once=dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
exec-once = flatpak run com.core447.StreamController exec-once = flatpak run com.core447.StreamController
exec-once = waybar & discord & ulauncher-toggle & openfortigui exec-once = ags & discord
# Source a file (multi-file configs) # Source a file (multi-file configs)
@@ -278,8 +278,10 @@ bindm = $mainMod, mouse:273, resizewindow
# Example windowrule v2 # Example windowrule v2
# windowrulev2 = float,class:(kitty),title:(kitty) # windowrulev2 = float,class:(kitty),title:(kitty)
windowrulev2 = float,class:(org.gnome.Nautilus) windowrulev2 = float,class:(org.gnome.Nautilus)
windowrulev2 = float,class:(Signal)
windowrulev2 = pin,class:(Signal)
windowrulev2 = center, class:.* #windowrulev2 = center, class:.*
windowrulev2 = size 1000 1000, class:.* #windowrulev2 = size 1000 1000, class:.*
windowrulev2 = suppressevent maximize, class:.* # You'll probably like this. windowrulev2 = suppressevent maximize, class:.* # You'll probably like this.
-90
View File
@@ -1,90 +0,0 @@
{
"layer": "top", // Waybar at top layer
"position": "top", // Waybar position (top|bottom|left|right)
// "width": 1280, // Waybar width
// Choose the order of the modules
"modules-left": ["hyprland/workspaces", "custom/music", "privacy"],
"modules-center": ["clock#date", "clock"],
"modules-right": ["load", "custom/tomato", "pulseaudio", "tray", "custom/lock", "custom/power"],
"hyprland/workspaces": {
"disable-scroll": true,
"sort-by-name": true,
"format": " {icon} ",
"format-icons": {
"default": "",
},
},
"tray": {
"icon-size": 21,
"spacing": 10
},
"custom/music": {
"format": " {}",
"escape": true,
"interval": 5,
"tooltip": false,
"exec": "playerctl metadata --format='{{ title }}'",
"on-click": "playerctl play-pause",
"max-length": 50
},
"privacy": {
"icon-spacing": 4,
"icon-size": 18,
"transition-duration": 250,
"modules": [
{
"type": "screenshare",
"tooltip": false,
"tooltip-icon-size": 24
},
{
"type": "audio-in",
"tooltip": false,
"tooltip-icon-size": 24
}
]
},
"load": {
"interval": 1,
"format": " {load5}"
},
"clock": {
"timezone": "Europe/Paris",
"tooltip": false,
"format": " {:%H:%M}"
},
"clock#date": {
"timezone": "Europe/Paris",
"locale": "fr_FR.UTF-8",
"tooltip": false,
"format": "󰃭 {:L%A %d/%m/%Y}",
"on-click": "gnome-calendar"
},
"pulseaudio": {
// "scroll-step": 1, // %, can be a float
"format": "{icon} {volume}%",
"format-muted": "",
"format-icons": {
"default": ["", "", " "]
},
"on-click": "~/.config/rofi/applets/bin/volume.sh"
},
"custom/tomato": {
"format": "{}",
"escape": true,
"interval": 1,
"tooltip": false,
"exec": "tomato -t",
"max-length": 10
},
"custom/lock": {
"tooltip": false,
"on-click": "hyprlock",
"format": "",
},
"custom/power": {
"tooltip": false,
"on-click": "~/.config/rofi/powermenu/type-2/powermenu.sh",
"format": "⏻"
}
}
-37
View File
@@ -1,37 +0,0 @@
/*
*
* Catppuccin Mocha palette
* Maintainer: rubyowo
*
*/
@define-color base #24273a;
@define-color mantle #1e2030;
@define-color crust #181926;
@define-color text #cad3f5;
@define-color subtext0 #a5adcb;
@define-color subtext1 #b8c0e0;
@define-color surface0 #363a4f;
@define-color surface1 #494d64;
@define-color surface2 #5b6078;
@define-color overlay0 #6e738d;
@define-color overlay1 #8087a2;
@define-color overlay2 #939ab7;
@define-color blue #8aadf4;
@define-color lavender #b7bdf8;
@define-color sapphire #7dc4e4;
@define-color sky #91d7e3;
@define-color teal #8bd5ca;
@define-color green #a6da95;
@define-color yellow #eed49f;
@define-color peach #f5a97f;
@define-color maroon #ee99a0;
@define-color red #ed8796;
@define-color mauve #c6a0f6;
@define-color pink #f5bde6;
@define-color flamingo #f0c6c6;
@define-color rosewater #f4dbd6;
-114
View File
@@ -1,114 +0,0 @@
@import "macchiato.css";
* {
font-family: JetBrainsMono Nerd Font;
font-size: 16px;
min-height: 0;
}
#waybar {
background: @base;
color: @text;
margin: 5px 5px;
}
#workspaces {
border-radius: 1rem;
margin: 5px;
background-color: @mantle;
margin-left: 1rem;
padding-right: 0.2rem;
}
#workspaces button {
color: @lavender;
border-radius: 1rem;
padding: 0.4rem;
}
#workspaces button.active {
color: @sky;
border-radius: 1rem;
}
#workspaces button:hover {
color: @sapphire;
border-radius: 1rem;
}
#load,
#privacy,
#custom-music,
#tray,
#backlight,
#clock,
#clock.date,
#custom-tomato,
#pulseaudio,
#custom-lock,
#custom-power {
background-color: @mantle;
padding: 0.5rem 1rem;
margin: 5px 0;
}
#clock {
color: @blue;
border-radius: 0px 1rem 1rem 0px;
margin-right: 1rem;
}
#clock.date {
border-radius: 1rem 0px 0px 1rem;
}
#load {
color: @peach;
border-radius: 1rem 0px 0px 1rem;
}
#privacy {
color: @mauve;
border-radius: 1rem;
}
#custom-tomato {
color: @yellow;
}
#pulseaudio {
color: @maroon;
border-radius: 0px 1rem 1rem 0px;
margin-right: 1rem;
}
#custom-music {
color: @green;
border-radius: 1rem;
margin-right: 1rem;
}
#custom-lock {
border-radius: 1rem 0px 0px 1rem;
color: @lavender;
}
#custom-lock:hover {
color: @sapphire;
}
#custom-power {
margin-right: 1rem;
padding-right: 1.2rem;
border-radius: 0px 1rem 1rem 0px;
color: @red;
}
#custom-power:hover {
color: @peach;
}
#tray {
margin-right: 1rem;
border-radius: 1rem;
}
+7
View File
@@ -128,3 +128,10 @@ export PATH=$PATH:/home/thomas/.spicetify
export PATH=$PATH:/home/thomas/.local/bin export PATH=$PATH:/home/thomas/.local/bin
export DENO_INSTALL="/home/thomas/.deno" export DENO_INSTALL="/home/thomas/.deno"
export PATH="$DENO_INSTALL/bin:$PATH" export PATH="$DENO_INSTALL/bin:$PATH"
# bun completions
[ -s "/home/thomas/.bun/_bun" ] && source "/home/thomas/.bun/_bun"
# bun
export BUN_INSTALL="$HOME/.bun"
export PATH="$BUN_INSTALL/bin:$PATH"