diff --git a/.config/hypr/hyprland.conf b/.config/hypr/hyprland.conf index 3d93f11..c4bd702 100644 --- a/.config/hypr/hyprland.conf +++ b/.config/hypr/hyprland.conf @@ -55,8 +55,8 @@ exec-once = udiskie -t & exec-once = /usr/lib/polkit-kde-authentication-agent-1 exec-once = sleep 1; blueman-applet exec-once = hyprpaper -exec-once = swaync -exec-once = [workspace special:music silent] sleep 1; supersonic-desktop +exec-once = [workspace special:music silent] supersonic-desktop +exec-once = dunst exec-once = waybar exec-once = hypridle exec-once = hyprctl setcursor Dracula-cursors 24 @@ -222,7 +222,7 @@ bind = $mainMod, F, fullscreen bind = $mainMod, C, exec, galculator bind = $mainMod CTRL, T, exec, steam bind = $mainMod CTRL, Y, exec, heroic -bind = $mainMod, N, exec, exec swaync-client -t -sw +bind = $mainMod, N, exec, dunstctl context bind = $mainMod CTRL, U, exec, [workspace special:scratchpad silent] signal-desktop --ozone-platform-hint=auto --enable-features=UseOzonePlatform,WaylandWindowDecorations bind = $mainMod CTRL, P, exec, [workspace special:password silent] keepassxc bind = $mainMod CTRL, M, exec, [workspace special:music silent] sleep 1; supersonic-desktop @@ -256,15 +256,20 @@ bind = ALT, SPACE, focuscurrentorlast # Media keys -bind = ,XF86AudioPlay,exec,playerctl play-pause -bind = ,XF86AudioPause,exec,playerctl pause +bind = ,XF86AudioPlayPause,exec,~/.bin/sh/dunstaudio.sh play_pause +bind = ,XF86AudioPlay,exec,~/.bin/sh/dunstaudio.sh play_pause +bind = ,XF86AudioPause,exec,~/.bin/sh/dunstaudio.sh play_pause bind = ,XF86AudioStop,exec,playerctl stop -bind = ,XF86AudioNext,exec,playerctl next -bind = ,XF86AudioPrev,exec,playerctl previous -bind = ,XF86AudioRaiseVolume,exec,wpctl set-volume @DEFAULT_AUDIO_SINK@ 1%+ -bind = ,XF86AudioLowerVolume,exec,wpctl set-volume @DEFAULT_AUDIO_SINK@ 1%- -bind = ,XF86AudioMute,exec,pactl set-sink-mute @DEFAULT_SINK@ toggle +bind = ,XF86AudioNext,exec,~/.bin/sh/dunstaudio.sh next_track +bind = ,XF86AudioPrev,exec,~/.bin/sh/dunstaudio.sh prev_track +bind = ,XF86AudioRaiseVolume,exec,~/.bin/sh/dunstaudio.sh volume_up +bind = ,XF86AudioLowerVolume,exec,~/.bin/sh/dunstaudio.sh volume_down +bind = ,XF86AudioMute,exec,~/.bin/sh/dunstaudio.sh volume_mute +# Brightness keys + +bind = ,XF86MonBrightnessUp,exec,~/.bin/sh/dunstaudio.sh brightness_up +bind = ,XF86MonBrightnessDown,exec,~/.bin/sh/dunstaudio.sh brightness_down # Move focus with Mod + arrow keys @@ -374,6 +379,7 @@ bind = ,Print,exec,grim -g "$(slurp)" - | swappy -f - # Environment management +bind = $mainMod Shift, n, exec, killall dunst || exec dunst bind = $mainMod Shift, w, exec, killall waybar || exec waybar bind = $mainMod Shift, h, exec, killall hypridle || exec hypridle diff --git a/.config/rofi/config.rasi b/.config/rofi/config.rasi index 8607d07..4676d5d 100644 --- a/.config/rofi/config.rasi +++ b/.config/rofi/config.rasi @@ -4,6 +4,7 @@ configuration { show-icons: true; display-drun: ""; disable-history: false; + modi: "window,drun,run,ssh,filebrowser,keys"; } * { diff --git a/.config/supersonic/themes/dracula.toml b/.config/supersonic/themes/dracula.toml index 380f66a..1287c43 100644 --- a/.config/supersonic/themes/dracula.toml +++ b/.config/supersonic/themes/dracula.toml @@ -10,7 +10,7 @@ InputBackground = "#44475A" InputBorder = "#44475A" MenuBackground = "#282A36" OverlayBackground = "#282A36" -Hyperlink = "#BD93F9" +Hyperlink = "#50FA7B" Pressed = "#44475A" ListHeader = "#1E1F29" PageHeader = "#1E1F29" diff --git a/.config/waybar/config b/.config/waybar/config index 3104e96..0c73e1c 100644 --- a/.config/waybar/config +++ b/.config/waybar/config @@ -54,6 +54,9 @@ "tooltip-format": "󰠃 {artist}:  {title} (󰀥 {album})", "interval": 1, "album-len": 0, + "on-click": "exec ~/.bin/sh/dunstaudio.sh play_pause", + "on-click-right": "exec ~/.bin/sh/dunstaudio.sh next_track", + "on-click-middle": "exec ~/.bin/sh/dunstaudio.sh prev_track", "player-icons": { "default": "", "mpv": "" @@ -242,7 +245,9 @@ "car": "", "default": ["", "󰖀", "󰕾", ""] }, - "on-click": "pavucontrol" + "on-click": "pavucontrol", + "on-scroll-up": "exec ~/.bin/sh/dunstaudio.sh volume_up", + "on-scroll-down": "exec ~/.bin/sh/dunstaudio.sh volume_down" }, "bluetooth": { "format": " {status}", diff --git a/README.md b/README.md index b916d52..7e1f785 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ I use the [Dracula theme](https://draculatheme.com/), following their [color pal * Networking: [NetworkManager](https://networkmanager.dev/) * Wayland Compositor: [Hyprland](https://github.com/hyprwm/Hyprland) * Bar: [Waybar](https://github.com/Alexays/Waybar) -* Notifications: [SwayNotificationCenter](https://github.com/ErikReider/SwayNotificationCenter) +* Notifications: [Dunst](https://dunst-project.org) * Launcher: [Wofi](https://hg.sr.ht/~scoopta/wofi) * Menu Editor: [alacarte](https://gitlab.gnome.org/GNOME/alacarte) * File Manager: [nnn](https://github.com/jarun/nnn) @@ -98,5 +98,6 @@ A lot of the code was modified or borrowed from others that I will attempt to li * MrRoy's swaync [style.css](https://gist.github.com/MrRoy/3a4a0b1462921e78bf667e1b36697268) and his [config.json](https://gist.github.com/MrRoy/40f103bc34f3a58699e218c3d06d1a43). * Chick2D's [neofetch-themes](https://github.com/Chick2D/neofetch-themes) repository. * MrVivekRajan's [themes for Hyprlock](https://github.com/MrVivekRajan/Hyprlock-Styles), which I used as base for mine. +* Nicholas Anand's [i3-volume-brightness-indicator ](https://gitlab.com/Nmoleo/i3-volume-brightness-indicator/-/tree/main), whose awesome script is powering my notifications with dunst. If I'm missing anybody else, just open up a MR.