Skip to content

Commit 831c8ca

Browse files
committed
use noctalia's shell to replace other wayland components
1 parent b8f3fde commit 831c8ca

28 files changed

Lines changed: 80 additions & 1098 deletions

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,7 @@ My dotfiles for Neovim, zsh,..., optimized for ArchLinux and WSL. Managed with
3333

3434
* [Hyprland](https://hyprland.org/) a dynamic tiling Wayland compositor
3535

36-
* System bar via [waybar](https://github.com/Alexays/Waybar), consist of systray, time and control componnets
37-
38-
* [Wofi](https://hg.sr.ht/~scoopta/wofi), a launcher for wayland
36+
* [Noctalia shell] a beautiful, minimal desktop shell for Wayland
3937

4038
* [Pipewire](https://wiki.archlinux.org/title/PipeWire) for multimedia framework, support pulseaudio/JACK/ALSA-based applications
4139

config/dunst/dunstrc

Lines changed: 0 additions & 21 deletions
This file was deleted.

config/flameshot/flameshot.ini

Lines changed: 0 additions & 6 deletions
This file was deleted.

config/hypr/hyprland.conf

Lines changed: 19 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ source = ~/.config/hypr/monitors.conf
1414

1515
$terminal = ghostty
1616
$fileManager = dolphin
17-
$menu = wofi --show drun
17+
$launcher = qs -c noctalia-shell ipc call launcher toggle
18+
$locker = qs -c noctalia-shell ipc call lockScreen lock
1819

1920

2021
#################
@@ -31,8 +32,11 @@ exec-once = pot
3132
exec-once = fcitx5 -d
3233
exec-once = pactl set-sink-mute @DEFAULT_SINK@ 1
3334
exec-once = qs -c noctalia-shell
34-
exec = hyprdynamicmonitors run --enable-lid-events
35-
exec = widgetctl mpd mpd-mpris playerctld
35+
exec-once = sleep 1 && $locker
36+
exec-once = mpd
37+
exec-once = mpd-mpris
38+
exec-once = playerctld
39+
exec-once = hyprdynamicmonitors run --enable-lid-events
3640

3741
#############################
3842
### ENVIRONMENT VARIABLES ###
@@ -207,7 +211,7 @@ debug {
207211
$mainMod = SUPER
208212

209213
# trigger when the switch is toggled
210-
bindl=,switch:Lid Switch,exec, hyprlock
214+
bindl=,switch:Lid Switch,exec, $locker
211215
# trigger when the switch is turning on
212216
bindl=,switch:on:Lid Switch,exec,hyprctl keyword monitor "eDP-1, disable"
213217
# trigger when the switch is turning off
@@ -217,25 +221,27 @@ bindl=,switch:off:Lid Switch,exec,hyprctl keyword monitor "eDP-1,preferred,0x175
217221
bind = $mainMod SHIFT, Q, killactive,
218222
bind = $mainMod, Space, togglefloating,
219223
bind = $mainMod, F, fullscreen,
220-
bind = $mainMod, D, exec, pkill wofi || wofi --show drun
221-
bind = $mainMod, P, exec, hyprlock
224+
bind = $mainMod, D, exec, $launcher
225+
bind = $mainMod, P, exec, $locker
222226
bind = $mainMod, Return, exec, $terminal
223-
bind = $mainMod, T, exec, curl "127.0.0.1:60828/selection_translate"
227+
bind = $mainMod, S, exec, qs -c noctalia-shell ipc call controlCenter toggle
228+
bind = $mainMod, comma, exec, qs -c noctalia-shell ipc call settings toggle
224229

225230

226231
# Utility keymap
227-
bind =,XF86AudioMute, exec, pactl set-sink-mute @DEFAULT_SINK@ toggle
228-
binde =,XF86AudioRaiseVolume, exec, pactl set-sink-volume @DEFAULT_SINK@ '+5%'
229-
bindel =,XF86AudioLowerVolume, exec, pactl set-sink-volume @DEFAULT_SINK@ '-5%'
232+
bindel = , XF86AudioRaiseVolume, exec, qs -c noctalia-shell ipc call volume increase
233+
bindel = , XF86AudioLowerVolume, exec, qs -c noctalia-shell ipc call volume decrease
234+
bindl = , XF86AudioMute, exec, qs -c noctalia-shell ipc call volume muteOutput
235+
230236
binde =,XF86AudioPrev, exec, playerctl previous
231237
binde =,XF86AudioNext, exec, playerctl next
232238
binde =,XF86AudioPlay, exec, playerctl play-pause
233239
bind = ,Print, exec, grimblast --freeze edit area
234240
bind = SHIFT,Print, exec, grimblast --freeze copy area
235241
bind = CTRL,Print, exec, hyprpicker -a
236242

237-
binde =,XF86MonBrightnessUp, exec, ~/.config/hypr/scripts/brightctl --monitor focus --op + --value 5
238-
binde =,XF86MonBrightnessDown, exec, ~/.config/hypr/scripts/brightctl --monitor focus --op - --value 5
243+
bindel = , XF86MonBrightnessUp, exec, qs -c noctalia-shell ipc call brightness increase
244+
bindel = , XF86MonBrightnessDown, exec, qs -c noctalia-shell ipc call brightness decrease
239245

240246
bind = $mainMod, R, exec, hyprctl reload
241247

@@ -334,3 +340,4 @@ plugin {
334340
}
335341

336342

343+
source = ~/.config/hypr/noctalia/noctalia-colors.conf

config/hypr/hyprlauncher.conf

Lines changed: 0 additions & 14 deletions
This file was deleted.

config/hypr/hyprlock.conf

Lines changed: 0 additions & 66 deletions
This file was deleted.

config/hypr/hyprpaper.conf

Lines changed: 0 additions & 3 deletions
This file was deleted.
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
$primary = rgb(37f499)
2+
$surface = rgb(ffffff)
3+
$secondary = rgb(04d1f9)
4+
$error = rgb(f16c75)
5+
$tertiary = rgb(a48cf2)
6+
$surface_lowest = rgb(ffffff)
7+
8+
general {
9+
col.active_border = $primary
10+
col.inactive_border = $surface
11+
}
12+
13+
group {
14+
col.border_active = $secondary
15+
col.border_inactive = $surface
16+
col.border_locked_active = $error
17+
col.border_locked_inactive = $surface
18+
19+
groupbar {
20+
col.active = $secondary
21+
col.inactive = $surface
22+
col.locked_active = $error
23+
col.locked_inactive = $surface
24+
}
25+
}

config/mise/config.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ npm.bun = true
1515

1616
[tools]
1717
bun = "latest"
18+
"github:anomalyco/opencode" = "latest"
1819
lazygit = "latest"
1920
node = "24.12.0"
2021
ruff = "0.14.8"

config/noctalia/plugins.json

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,12 @@
1-
{"version":1,"states":{},"sources":[]}
1+
{
2+
"sources": [
3+
{
4+
"enabled": true,
5+
"name": "Official Noctalia Plugins",
6+
"url": "https://github.com/noctalia-dev/noctalia-plugins"
7+
}
8+
],
9+
"states": {
10+
},
11+
"version": 1
12+
}

0 commit comments

Comments
 (0)