From 4d86e8c2bc7408e73da53801539cb6fbbdcbf9d2 Mon Sep 17 00:00:00 2001 From: Thomas Date: Mon, 5 Aug 2024 14:22:52 +0200 Subject: [PATCH] from waybar + dunst to hyprpanel --- .config/ags | 1 + .config/dunst/dunstrc | 21 ------- .config/hypr/hyprland.conf | 10 +-- .config/waybar/config.jsonc | 90 --------------------------- .config/waybar/macchiato.css | 37 ------------ .config/waybar/style.css | 114 ----------------------------------- .zshrc | 7 +++ 7 files changed, 14 insertions(+), 266 deletions(-) create mode 160000 .config/ags delete mode 100644 .config/dunst/dunstrc delete mode 100644 .config/waybar/config.jsonc delete mode 100644 .config/waybar/macchiato.css delete mode 100644 .config/waybar/style.css diff --git a/.config/ags b/.config/ags new file mode 160000 index 0000000..d743c98 --- /dev/null +++ b/.config/ags @@ -0,0 +1 @@ +Subproject commit d743c98a6a74b344cea0fb4c21271523cc1a64eb diff --git a/.config/dunst/dunstrc b/.config/dunst/dunstrc deleted file mode 100644 index 300693b..0000000 --- a/.config/dunst/dunstrc +++ /dev/null @@ -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" diff --git a/.config/hypr/hyprland.conf b/.config/hypr/hyprland.conf index 665ba0e..da0c563 100644 --- a/.config/hypr/hyprland.conf +++ b/.config/hypr/hyprland.conf @@ -48,9 +48,9 @@ $menu = wofi --show drun # exec-once = nm-applet & # exec-once = waybar & hyprpaper & firefox 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 = waybar & discord & ulauncher-toggle & openfortigui +exec-once = ags & discord # Source a file (multi-file configs) @@ -278,8 +278,10 @@ bindm = $mainMod, mouse:273, resizewindow # Example windowrule v2 # windowrulev2 = float,class:(kitty),title:(kitty) windowrulev2 = float,class:(org.gnome.Nautilus) +windowrulev2 = float,class:(Signal) +windowrulev2 = pin,class:(Signal) -windowrulev2 = center, class:.* -windowrulev2 = size 1000 1000, class:.* +#windowrulev2 = center, class:.* +#windowrulev2 = size 1000 1000, class:.* windowrulev2 = suppressevent maximize, class:.* # You'll probably like this. diff --git a/.config/waybar/config.jsonc b/.config/waybar/config.jsonc deleted file mode 100644 index 92304cd..0000000 --- a/.config/waybar/config.jsonc +++ /dev/null @@ -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": "⏻" - } -} diff --git a/.config/waybar/macchiato.css b/.config/waybar/macchiato.css deleted file mode 100644 index 12bc89c..0000000 --- a/.config/waybar/macchiato.css +++ /dev/null @@ -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; diff --git a/.config/waybar/style.css b/.config/waybar/style.css deleted file mode 100644 index d1ac51a..0000000 --- a/.config/waybar/style.css +++ /dev/null @@ -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; -} diff --git a/.zshrc b/.zshrc index 755e78f..747e93c 100644 --- a/.zshrc +++ b/.zshrc @@ -128,3 +128,10 @@ export PATH=$PATH:/home/thomas/.spicetify export PATH=$PATH:/home/thomas/.local/bin export DENO_INSTALL="/home/thomas/.deno" 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"