From f8b022512397ea068000617514ad47d46e60100d Mon Sep 17 00:00:00 2001 From: Jason Hilder Date: Sun, 2 Aug 2026 06:02:46 +0200 Subject: [PATCH] Updates for noctalia theme and swayfx. --- config/alacritty/alacritty.toml | 25 +--- config/alacritty/themes/noctalia.toml | 68 +++++++++ config/sway/config | 200 ++++++++++++++++++++++++++ config/sway/noctalia | 18 +++ 4 files changed, 287 insertions(+), 24 deletions(-) create mode 100644 config/alacritty/themes/noctalia.toml create mode 100644 config/sway/config create mode 100644 config/sway/noctalia diff --git a/config/alacritty/alacritty.toml b/config/alacritty/alacritty.toml index 7ebf7ae..6bd43a6 100644 --- a/config/alacritty/alacritty.toml +++ b/config/alacritty/alacritty.toml @@ -1,4 +1,5 @@ [general] +import = ["~/.config/alacritty/themes/noctalia.toml"] [font] size = 12.4 @@ -13,27 +14,3 @@ padding.y = 10 [cursor] style.shape = "Beam" style.blinking = "Always" - -[colors.primary] -background = '#101010' -foreground = '#ebdbb2' - -[colors.normal] -black = '#282828' -red = '#cc241d' -green = '#98971a' -yellow = '#d79921' -blue = '#458588' -magenta = '#b16286' -cyan = '#689d6a' -white = '#a89984' - -[colors.bright] -black = '#928374' -red = '#fb4934' -green = '#b8bb26' -yellow = '#fabd2f' -blue = '#83a598' -magenta = '#d3869b' -cyan = '#8ec07c' -white = '#ebdbb2' diff --git a/config/alacritty/themes/noctalia.toml b/config/alacritty/themes/noctalia.toml new file mode 100644 index 0000000..4db7fdb --- /dev/null +++ b/config/alacritty/themes/noctalia.toml @@ -0,0 +1,68 @@ +[colors.primary] +background = '#121212' +foreground = '#e8e8e8' + +[colors.cursor] +text = '#121212' +cursor = '#e8e8e8' + +[colors.vi_mode_cursor] +text = '#121212' +cursor = '#a9afbd' + +[colors.search.matches] +foreground = '#161616' +background = '#8b909c' + +[colors.search.focused_match] +foreground = '#161616' +background = '#a9afbd' + +[colors.footer_bar] +foreground = '#161616' +background = '#e8e3e3' + +[colors.hints.start] +foreground = '#161616' +background = '#7d8390' + +[colors.hints.end] +foreground = '#161616' +background = '#7d8390' + +[colors.selection] +text = '#e8e8e8' +background = '#2a2a2a' + + +[colors.normal] +black = '#161616' +red = '#c77b7b' +green = '#9cb89c' +yellow = '#c7b98b' +blue = '#8b95a9' +magenta = '#a99bb0' +cyan = '#8fadb0' +white = '#b0b0b0' + + +[colors.bright] +black = '#3a3a3a' +red = '#d89a9a' +green = '#b0ccaf' +yellow = '#d8cba0' +blue = '#a9afbd' +magenta = '#beb0c4' +cyan = '#a9c4c7' +white = '#f0f0f0' + + +[colors.dim] +black = '#161616' +red = '#c77b7b' +green = '#9cb89c' +yellow = '#c7b98b' +blue = '#8b95a9' +magenta = '#a99bb0' +cyan = '#8fadb0' +white = '#b0b0b0' diff --git a/config/sway/config b/config/sway/config new file mode 100644 index 0000000..48645dc --- /dev/null +++ b/config/sway/config @@ -0,0 +1,200 @@ +### Sway Config +include ~/.config/sway/noctalia + +output HDMI-A-1 scale 1.21 + +set $mod Mod4 + +# +# Applications +# + +set $term alacritty +set $editor emacs +set $filemanager thunar + +# +# Outputs +# +#output * bg #111111 solid_color + +# +# Appearance +# + +seat seat0 xcursor_theme oreo_white_cursors 28 +corner_radius 10 + +default_border pixel 4 +default_floating_border pixel 4 + +gaps inner 8 +gaps outer 0 + +focus_follows_mouse yes + +# +# Workspaces +# + +workspace 1 +workspace 2 +workspace 3 +workspace 4 +workspace 5 + +# +# Window behaviour +# + +floating_modifier $mod + +# +# Movement +# + +bindsym $mod+h focus left +bindsym $mod+j focus down +bindsym $mod+k focus up +bindsym $mod+l focus right + +# +# Move windows +# + +bindsym $mod+Ctrl+h move left +bindsym $mod+Ctrl+j move down +bindsym $mod+Ctrl+k move up +bindsym $mod+Ctrl+l move right + +# +# Resize +# + +mode "resize" { + bindsym h resize shrink width 20px + bindsym j resize grow height 20px + bindsym k resize shrink height 20px + bindsym l resize grow width 20px + + bindsym Return mode "default" + bindsym Escape mode "default" +} + +bindsym $mod+Shift+r mode "resize" + +# +# Split orientation +# + +bindsym $mod+v splitv +bindsym $mod+b splith + +# +# Fullscreen / floating +# + +bindsym $mod+f fullscreen toggle +bindsym $mod+Ctrl+space floating toggle + +# +# Kill window +# + +bindsym $mod+q kill + +# +# Maximize +# + +bindsym $mod+m fullscreen disable, floating disable + +# Launchers +set $ipc noctalia msg + +bindsym $mod+space exec $ipc panel-toggle launcher +bindsym $mod+n exec $ipc panel-toggle control-center +bindsym $mod+s exec $ipc settings-toggle + +bindsym $mod+Return exec $editor +bindsym $mod+t exec $term +bindsym $mod+e exec $filemanager + +# Screenshot +bindsym $mod+Ctrl+p exec grimshot save area + +# +# Window cycling +# + +bindsym $mod+Tab focus next + +# +# Layouts +# + +bindsym $mod+w layout toggle split + +# +# Terminal layout reset +# + +bindsym $mod+Shift+space layout default + +# +# Audio Keys +# + +bindsym XF86AudioRaiseVolume exec pactl set-sink-volume @DEFAULT_SINK@ +2% +bindsym XF86AudioLowerVolume exec pactl set-sink-volume @DEFAULT_SINK@ -2% +bindsym XF86AudioMute exec pactl set-sink-mute @DEFAULT_SINK@ toggle + +# +# Workspaces +# + +bindsym $mod+1 workspace number 1 +bindsym $mod+2 workspace number 2 +bindsym $mod+3 workspace number 3 +bindsym $mod+4 workspace number 4 +bindsym $mod+5 workspace number 5 + +# +# Move windows to workspace +# + +bindsym $mod+Ctrl+1 move container to workspace number 1 +bindsym $mod+Ctrl+2 move container to workspace number 2 +bindsym $mod+Ctrl+3 move container to workspace number 3 +bindsym $mod+Ctrl+4 move container to workspace number 4 +bindsym $mod+Ctrl+5 move container to workspace number 5 + +# +# Floating rules +# + +for_window [app_id="pavucontrol"] floating enable +for_window [app_id="blueman-manager"] floating enable +for_window [title="Event Tester"] floating enable + +# +# Reload +# + +bindsym $mod+Ctrl+r reload + +# +# Exit sway +# + +bindsym $mod+Shift+q exit + +# +# Mouse +# +bindsym --whole-window $mod+Button1 move +bindsym --whole-window $mod+Button3 resize + +# Startup +exec pgrep -x noctalia >/dev/null || noctalia +exec pipewire diff --git a/config/sway/noctalia b/config/sway/noctalia new file mode 100644 index 0000000..f184b10 --- /dev/null +++ b/config/sway/noctalia @@ -0,0 +1,18 @@ +set $primary #a9afbd +set $on_primary #121212 +set $secondary #7d8390 +set $tertiary #8b909c +set $error #c77b7b +set $surface #121212 +set $on_surface #e8e8e8 +set $on_surface_variant #b0b0b0 +set $outline #616161 + +## Window Colours +# class border backgr. text indicator child_border +client.focused $primary $surface $on_surface $primary $primary +client.focused_inactive $outline $surface $on_surface_variant $outline $outline +client.unfocused $outline $surface $on_surface_variant $outline $outline +client.urgent $error $surface $on_surface $error $error +client.placeholder $surface $surface $on_surface_variant $surface $surface +client.background $surface