commit 4802988c33a454aec40dce57badf8f7c54f9eb39
Author: minerva-jupiter <ryouturn@gmail.com>
Date: Sat, 28 Feb 2026 03:04:50 -0600
init on purple neon
Diffstat:
3 files changed, 272 insertions(+), 0 deletions(-)
diff --git a/config b/config
@@ -0,0 +1,247 @@
+### Variables
+#
+set $mod Mod1
+set $win Mod4
+# Home row direction keys, like vim
+set $left h
+set $down j
+set $up k
+set $right l
+# Your preferred terminal emulator
+set $term alacritty
+# Your preferred application launcher
+set $menu wmenu-run
+
+include /etc/sway/config-vars.d/*
+
+### Output configuration
+#
+# Default wallpaper (more resolutions are available in /usr/share/backgrounds/sway/)
+# This is commented in Debian, because the Sway wallpaper files are in a separate
+# package `sway-backgrounds`. Installing this package drops a config file to
+# /etc/sway/config.d/
+# output * bg /usr/share/backgrounds/sway/Sway_Wallpaper_Blue_1920x1080.png fill
+#
+# Example configuration:
+#
+# output HDMI-A-1 resolution 1920x1080 position 1920,0
+#
+# You can get the names of your outputs by running: swaymsg -t get_outputs
+
+### Idle configuration
+#
+# Example configuration:
+#
+# exec swayidle -w \
+# timeout 300 'swaylock -f -c 000000' \
+# timeout 600 'swaymsg "output * power off"' resume 'swaymsg "output * power on"' \
+# before-sleep 'swaylock -f -c 000000'
+#
+# This will lock your screen after 300 seconds of inactivity, then turn off
+# your displays after another 300 seconds, and turn your screens back on when
+# resumed. It will also lock your screen before your computer goes to sleep.
+
+### Input configuration
+#
+# Example configuration:
+#
+# input "2:14:SynPS/2_Synaptics_TouchPad" {
+# dwt enabled
+# tap enabled
+# natural_scroll enabled
+# middle_emulation enabled
+# }
+#
+# You can get the names of your inputs by running: swaymsg -t get_inputs
+# Read `man 5 sway-input` for more information about this section.
+
+### Key bindings
+#
+# Basics:
+#
+ # Start a terminal
+ bindsym $mod+Return exec $term
+
+ # Kill focused window
+ bindsym $mod+F4 kill
+ # bindsym $mod+Shift+e kill
+
+ # Start your launcher
+ bindsym $win+R exec $menu
+
+ # Drag floating windows by holding down $mod and left mouse button.
+ # Resize them with right mouse button + $mod.
+ # Despite the name, also works for non-floating windows.
+ # Change normal to inverse to use left mouse button for resizing and right
+ # mouse button for dragging.
+ floating_modifier $mod normal
+
+ # Reload the configuration file
+ bindsym $mod+Shift+c reload
+
+ # Exit sway (logs you out of your Wayland session)
+ bindsym $mod+Shift+e exec swaynag -t warning -m 'You pressed the exit shortcut. Do you really want to exit sway? This will end your Wayland session.' -B 'Yes, exit sway' 'swaymsg exit'
+#
+# Moving around:
+#
+ # Move your focus around
+ bindsym $mod+$left focus left
+ bindsym $mod+$down focus down
+ bindsym $mod+$up focus up
+ bindsym $mod+$right focus right
+ # Or use $mod+[up|down|left|right]
+ bindsym $mod+Left focus left
+ bindsym $mod+Down focus down
+ bindsym $mod+Up focus up
+ bindsym $mod+Right focus right
+
+ # Move the focused window with the same, but add Shift
+ bindsym $mod+Shift+$left move left
+ bindsym $mod+Shift+$down move down
+ bindsym $mod+Shift+$up move up
+ bindsym $mod+Shift+$right move right
+ # Ditto, with arrow keys
+ bindsym $mod+Shift+Left move left
+ bindsym $mod+Shift+Down move down
+ bindsym $mod+Shift+Up move up
+ bindsym $mod+Shift+Right move right
+#
+# Workspaces:
+#
+ # Define names for default workspaces for which we configure key bindings later on.
+ # We use variables to avoid repeating the names in multiple places.
+ set $ws1 "1"
+ set $ws2 "2"
+ set $ws3 "3"
+ set $ws4 "4"
+ set $ws5 "5"
+ set $ws6 "6"
+ set $ws7 "7"
+ set $ws8 "8"
+ set $ws9 "9"
+ set $ws10 "10"
+
+ # switch to workspace
+ bindsym $win+1 workspace number $ws1
+ bindsym $win+2 workspace number $ws2
+ bindsym $win+3 workspace number $ws3
+ bindsym $win+4 workspace number $ws4
+ bindsym $win+5 workspace number $ws5
+ bindsym $win+6 workspace number $ws6
+ bindsym $win+7 workspace number $ws7
+ bindsym $win+8 workspace number $ws8
+ bindsym $win+9 workspace number $ws9
+ bindsym $win+0 workspace number $ws10
+
+ # move focused container to workspace
+ bindsym $win+Shift+1 move container to workspace number $ws1
+ bindsym $win+Shift+2 move container to workspace number $ws2
+ bindsym $win+Shift+3 move container to workspace number $ws3
+ bindsym $win+Shift+4 move container to workspace number $ws4
+ bindsym $win+Shift+5 move container to workspace number $ws5
+ bindsym $win+Shift+6 move container to workspace number $ws6
+ bindsym $win+Shift+7 move container to workspace number $ws7
+ bindsym $win+Shift+8 move container to workspace number $ws8
+ bindsym $win+Shift+9 move container to workspace number $ws9
+ bindsym $win+Shift+0 move container to workspace number $ws10
+ # Note: workspaces can have any name you want, not just numbers.
+ # We just use 1-10 as the default.
+#
+# Layout stuff:
+#
+ # You can "split" the current object of your focus with
+ # $mod+b or $mod+v, for horizontal and vertical splits
+ # respectively.
+ bindsym $mod+b splith
+ bindsym $mod+v splitv
+
+ # Switch the current container between different layout styles
+ bindsym $mod+s layout stacking
+ bindsym $mod+w layout tabbed
+ bindsym $mod+e layout toggle split
+
+ # Make the current focus fullscreen
+ bindsym $mod+f fullscreen
+
+ # Toggle the current focus between tiling and floating mode
+ bindsym $mod+Shift+space floating toggle
+
+ # Swap focus between the tiling area and the floating area
+ bindsym $mod+space focus mode_toggle
+
+ # Move focus to the parent container
+ bindsym $mod+a focus parent
+#
+# Scratchpad:
+#
+ # Sway has a "scratchpad", which is a bag of holding for windows.
+ # You can send windows there and get them back later.
+
+ # Move the currently focused window to the scratchpad
+ bindsym $mod+Shift+minus move scratchpad
+
+ # Show the next scratchpad window or hide the focused scratchpad window.
+ # If there are multiple scratchpad windows, this command cycles through them.
+ bindsym $mod+minus scratchpad show
+#
+# Resizing containers:
+#
+mode "resize" {
+ # left will shrink the containers width
+ # right will grow the containers width
+ # up will shrink the containers height
+ # down will grow the containers height
+ bindsym $left resize shrink width 10px
+ bindsym $down resize grow height 10px
+ bindsym $up resize shrink height 10px
+ bindsym $right resize grow width 10px
+
+ # Ditto, with arrow keys
+ bindsym Left resize shrink width 10px
+ bindsym Down resize grow height 10px
+ bindsym Up resize shrink height 10px
+ bindsym Right resize grow width 10px
+
+ # Return to default mode
+ bindsym Return mode "default"
+ bindsym Escape mode "default"
+}
+bindsym $mod+r mode "resize"
+#
+# Utilities:
+#
+ # Special keys to adjust volume via PulseAudio
+ bindsym --locked XF86AudioMute exec pactl set-sink-mute \@DEFAULT_SINK@ toggle
+ bindsym --locked XF86AudioLowerVolume exec pactl set-sink-volume \@DEFAULT_SINK@ -5%
+ bindsym --locked XF86AudioRaiseVolume exec pactl set-sink-volume \@DEFAULT_SINK@ +5%
+ bindsym --locked XF86AudioMicMute exec pactl set-source-mute \@DEFAULT_SOURCE@ toggle
+ # Special keys to adjust brightness via brightnessctl
+ bindsym --locked XF86MonBrightnessDown exec brightnessctl set 5%-
+ bindsym --locked XF86MonBrightnessUp exec brightnessctl set 5%+
+ # Special key to take a screenshot with grim
+ bindsym Print exec grim
+
+#
+# Status Bar:
+#
+# Read `man 5 sway-bar` for more information about this section.
+# bar {
+# position bottom
+#
+# # When the status_command prints a new line to stdout, swaybar updates.
+# # The default just shows the current date and time.
+# status_command while date +'%Y-%m-%d %X'; do sleep 1; done
+#
+# colors {
+# statusline #ffffff
+# background #000000
+# inactive_workspace #32323200 #32323200 #5c5c5c
+# }
+# }
+
+include /etc/sway/config.d/*
+include ~/.config/sway/config.d/*
+
+input type:keyboard {
+ xkb_layout jp
+}
diff --git a/config.d/bar b/config.d/bar
@@ -0,0 +1,16 @@
+bar {
+ position bottom
+ status_command while date +'%Y-%m-%d %X'; do sleep 1; done
+
+ colors {
+ background #1e1e1e
+ statusline #cdd6f4
+ separator #45475a
+
+ focused_workspace #652f8f #652f8f #ffffff
+ active_workspace #45475a #45475a #ffffff
+ inactive_workspace #313244 #313244 #ffffff
+ urgent_workspace #f38ba8 #f38ba8 #1e1e2e
+ binding_mode #f38ba8 #f38ba8 #1e1e2e
+ }
+}
diff --git a/config.d/color b/config.d/color
@@ -0,0 +1,9 @@
+# Dark Pop UI inspired (no blue, dark grey + purple/pink accents)
+# client.<class> <boarder> <background> <text> [<indicator>[child_boardor]]
+client.focused #652f8f #652f8f #ffffff #652f8f #652f8f
+client.focused_inactive #45475a #313244 #aaaaaa #45475a #45475a
+client.unfocused #2e2e2e #1e1e1e #eeeeee #2e2e2e #1e1e1e
+client.urgent #652f8f #652f8f #1e1e2e #f38ba8 #f38ba8
+client.placeholder #1e1e2e #1e1e2e #cdd6f4 #1e1e2e #1e1e2e
+
+client.background #1e1e2e