From 84a5b88a692b9b4aa02f756f3fd8b74e2766757e Mon Sep 17 00:00:00 2001 From: Phillip Michelsen Date: Thu, 30 Jul 2026 01:38:31 +0800 Subject: [PATCH] Structure update --- .../{ => .config}/alacritty/alacritty.toml | 0 phillpc/{ => .config}/fish/config.fish | 0 phillpc/.config/fish/fish_variables | 76 +++++++++++++++++++ phillpc/{ => .config}/mako/config | 0 phillpc/{ => .config}/mako/mako | 0 phillpc/{ => .config}/nvim/init.lua | 0 .../{ => .config}/nvim/nvim-pack-lock.json | 0 phillpc/{ => .config}/starship/starship.toml | 0 phillpc/{ => .config}/sway/config | 63 +++++++-------- phillpc/{ => .config}/tmux/tmux.conf | 0 phillpc/{ => .config}/waybar/config | 0 phillpc/{ => .config}/waybar/style.css | 0 phillpc/fish/fish_variables | 3 - 13 files changed, 108 insertions(+), 34 deletions(-) rename phillpc/{ => .config}/alacritty/alacritty.toml (100%) rename phillpc/{ => .config}/fish/config.fish (100%) create mode 100644 phillpc/.config/fish/fish_variables rename phillpc/{ => .config}/mako/config (100%) rename phillpc/{ => .config}/mako/mako (100%) rename phillpc/{ => .config}/nvim/init.lua (100%) rename phillpc/{ => .config}/nvim/nvim-pack-lock.json (100%) rename phillpc/{ => .config}/starship/starship.toml (100%) rename phillpc/{ => .config}/sway/config (63%) rename phillpc/{ => .config}/tmux/tmux.conf (100%) rename phillpc/{ => .config}/waybar/config (100%) rename phillpc/{ => .config}/waybar/style.css (100%) delete mode 100644 phillpc/fish/fish_variables diff --git a/phillpc/alacritty/alacritty.toml b/phillpc/.config/alacritty/alacritty.toml similarity index 100% rename from phillpc/alacritty/alacritty.toml rename to phillpc/.config/alacritty/alacritty.toml diff --git a/phillpc/fish/config.fish b/phillpc/.config/fish/config.fish similarity index 100% rename from phillpc/fish/config.fish rename to phillpc/.config/fish/config.fish diff --git a/phillpc/.config/fish/fish_variables b/phillpc/.config/fish/fish_variables new file mode 100644 index 0000000..cc02c3f --- /dev/null +++ b/phillpc/.config/fish/fish_variables @@ -0,0 +1,76 @@ +# This file contains fish universal variable definitions. +# VERSION: 3.0 +SETUVAR __fish_initialized:4300 +SETUVAR pure_begin_prompt_with_current_directory:true +SETUVAR pure_check_for_new_release:false +SETUVAR pure_color_at_sign:pure_color_mute +SETUVAR pure_color_aws_profile:pure_color_warning +SETUVAR pure_color_command_duration:pure_color_warning +SETUVAR pure_color_current_directory:pure_color_primary +SETUVAR pure_color_danger:red +SETUVAR pure_color_dark:black +SETUVAR pure_color_exit_status:pure_color_danger +SETUVAR pure_color_git_branch:pure_color_mute +SETUVAR pure_color_git_dirty:pure_color_mute +SETUVAR pure_color_git_stash:pure_color_info +SETUVAR pure_color_git_unpulled_commits:pure_color_info +SETUVAR pure_color_git_unpushed_commits:pure_color_info +SETUVAR pure_color_hostname:pure_color_mute +SETUVAR pure_color_info:cyan +SETUVAR pure_color_jobs:pure_color_normal +SETUVAR pure_color_k8s_context:pure_color_success +SETUVAR pure_color_k8s_namespace:pure_color_primary +SETUVAR pure_color_k8s_prefix:pure_color_info +SETUVAR pure_color_light:white +SETUVAR pure_color_mute:brblack +SETUVAR pure_color_nixdevshell_prefix:pure_color_info +SETUVAR pure_color_nixdevshell_symbol:pure_color_mute +SETUVAR pure_color_normal:normal +SETUVAR pure_color_prefix_root_prompt:pure_color_danger +SETUVAR pure_color_primary:blue +SETUVAR pure_color_prompt_on_error:pure_color_danger +SETUVAR pure_color_prompt_on_success:pure_color_success +SETUVAR pure_color_success:magenta +SETUVAR pure_color_system_time:pure_color_mute +SETUVAR pure_color_username_normal:pure_color_mute +SETUVAR pure_color_username_root:pure_color_light +SETUVAR pure_color_virtualenv:pure_color_mute +SETUVAR pure_color_warning:yellow +SETUVAR pure_convert_exit_status_to_signal:false +SETUVAR pure_enable_aws_profile:true +SETUVAR pure_enable_container_detection:true +SETUVAR pure_enable_git:true +SETUVAR pure_enable_k8s:false +SETUVAR pure_enable_nixdevshell:false +SETUVAR pure_enable_single_line_prompt:false +SETUVAR pure_enable_virtualenv:true +SETUVAR pure_reverse_prompt_symbol_in_vimode:true +SETUVAR pure_separate_prompt_on_error:false +SETUVAR pure_shorten_prompt_current_directory_length:0 +SETUVAR pure_shorten_window_title_current_directory_length:0 +SETUVAR pure_show_exit_status:false +SETUVAR pure_show_jobs:false +SETUVAR pure_show_numbered_git_indicator:false +SETUVAR pure_show_prefix_root_prompt:false +SETUVAR pure_show_subsecond_command_duration:false +SETUVAR pure_show_system_time:false +SETUVAR pure_symbol_aws_profile_prefix: +SETUVAR pure_symbol_container_prefix: +SETUVAR pure_symbol_exit_status_prefix:\x7c +SETUVAR pure_symbol_exit_status_separator:\x7c +SETUVAR pure_symbol_git_dirty:\x2a +SETUVAR pure_symbol_git_stash:\u2261 +SETUVAR pure_symbol_git_unpulled_commits:\u21e3 +SETUVAR pure_symbol_git_unpushed_commits:\u21e1 +SETUVAR pure_symbol_k8s_prefix:\u2638 +SETUVAR pure_symbol_nixdevshell_prefix:\u2744\ufe0f +SETUVAR pure_symbol_prefix_root_prompt:\x23 +SETUVAR pure_symbol_prompt:\u276f +SETUVAR pure_symbol_reverse_prompt:\u276e +SETUVAR pure_symbol_ssh_prefix: +SETUVAR pure_symbol_title_bar_separator:\x2d +SETUVAR pure_symbol_virtualenv_prefix: +SETUVAR pure_system_time_format:\x2b\x25T +SETUVAR pure_threshold_command_duration:5 +SETUVAR pure_truncate_prompt_current_directory_keeps:\x2d1 +SETUVAR pure_truncate_window_title_current_directory_keeps:\x2d1 diff --git a/phillpc/mako/config b/phillpc/.config/mako/config similarity index 100% rename from phillpc/mako/config rename to phillpc/.config/mako/config diff --git a/phillpc/mako/mako b/phillpc/.config/mako/mako similarity index 100% rename from phillpc/mako/mako rename to phillpc/.config/mako/mako diff --git a/phillpc/nvim/init.lua b/phillpc/.config/nvim/init.lua similarity index 100% rename from phillpc/nvim/init.lua rename to phillpc/.config/nvim/init.lua diff --git a/phillpc/nvim/nvim-pack-lock.json b/phillpc/.config/nvim/nvim-pack-lock.json similarity index 100% rename from phillpc/nvim/nvim-pack-lock.json rename to phillpc/.config/nvim/nvim-pack-lock.json diff --git a/phillpc/starship/starship.toml b/phillpc/.config/starship/starship.toml similarity index 100% rename from phillpc/starship/starship.toml rename to phillpc/.config/starship/starship.toml diff --git a/phillpc/sway/config b/phillpc/.config/sway/config similarity index 63% rename from phillpc/sway/config rename to phillpc/.config/sway/config index 637142b..e9dff45 100644 --- a/phillpc/sway/config +++ b/phillpc/.config/sway/config @@ -1,3 +1,5 @@ +include /etc/sway/config.d/* + ### Variables set $mod Mod4 set $left h @@ -6,7 +8,7 @@ set $up k set $right l set $term alacritty -set $menu bemenu-run -b -i --fn "Hack Nerd Font 10" --prompt "Run:" --list "8 up" +set $ipc qs -c noctalia-shell ipc call set $b00 #141415 set $b01 #1c1c24 @@ -36,14 +38,8 @@ client.background $b00 for_window [floating] border pixel 2 -# Prefer native Sway background handling over repeatedly spawning swaybg. output * bg #000000 solid_color -bar { - swaybar_command waybar -} - -### Input/output input type:keyboard { xkb_layout us } @@ -58,7 +54,9 @@ workspace_auto_back_and_forth yes ### Key bindings bindsym $mod+Return exec $term bindsym $mod+q kill -bindsym $mod+Space exec $menu +bindsym $mod+Space exec $ipc launcher toggle +bindsym $mod+c exec $ipc controlCenter toggle +bindsym $mod+s exec $ipc settings toggle bindsym $mod+Shift+c reload bindsym $mod+Shift+e exec swaymsg exit @@ -74,9 +72,23 @@ bindsym $mod+Shift+$down move down bindsym $mod+Shift+$up move up bindsym $mod+Shift+$right move right -bindsym $mod+1 workspace number 1 -bindsym $mod+2 workspace number 2 -bindsym $mod+3 workspace number 3 +set $ws1 "1:main" +set $ws2 "2:aux" +set $ws3 "3:media" + +assign [class="^[Ss]team$"] workspace $ws2 +assign [instance="steam"] workspace $ws2 +assign [class="^steam_app_.*"] workspace $ws2 + +assign [app_id="discord"] workspace $ws3 +assign [class="discord"] workspace $ws3 + +assign [class="Spotify"] workspace $ws3 +assign [app_id="spotify"] workspace $ws3 + +bindsym $mod+1 workspace $ws1 +bindsym $mod+2 workspace $ws2 +bindsym $mod+3 workspace $ws3 bindsym $mod+4 workspace number 4 bindsym $mod+5 workspace number 5 bindsym $mod+6 workspace number 6 @@ -85,9 +97,9 @@ bindsym $mod+8 workspace number 8 bindsym $mod+9 workspace number 9 bindsym $mod+0 workspace number 10 -bindsym $mod+Shift+1 move container to workspace number 1 -bindsym $mod+Shift+2 move container to workspace number 2 -bindsym $mod+Shift+3 move container to workspace number 3 +bindsym $mod+Shift+1 move container to workspace $ws1 +bindsym $mod+Shift+2 move container to workspace $ws2 +bindsym $mod+Shift+3 move container to workspace $ws3 bindsym $mod+Shift+4 move container to workspace number 4 bindsym $mod+Shift+5 move container to workspace number 5 bindsym $mod+Shift+6 move container to workspace number 6 @@ -106,24 +118,13 @@ bindsym $mod+f focus mode_toggle bindsym $mod+Shift+minus move scratchpad bindsym $mod+minus scratchpad show -### Media keys -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 -bindsym --locked XF86MonBrightnessDown exec brightnessctl set 5%- -bindsym --locked XF86MonBrightnessUp exec brightnessctl set 5%+ +bindsym --locked XF86AudioRaiseVolume exec $ipc volume increase +bindsym --locked XF86AudioLowerVolume exec $ipc volume decrease +bindsym --locked XF86AudioMute exec $ipc volume muteOutput +bindsym --locked XF86MonBrightnessUp exec $ipc brightness increase +bindsym --locked XF86MonBrightnessDown exec $ipc brightness decrease -### Screenshots bindsym $mod+Shift+p exec grim -g "$(slurp)" - | wl-copy bindsym $mod+p exec grim - | wl-copy -### Autostart -# -# If Steam behaves weirdly under forced Wayland env vars, the Fish config below -# should fix that by not forcing SDL/QT globally. -exec steam -exec spotify-launcher - -exec dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=sway -exec systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP +exec_always qs -c noctalia-shell diff --git a/phillpc/tmux/tmux.conf b/phillpc/.config/tmux/tmux.conf similarity index 100% rename from phillpc/tmux/tmux.conf rename to phillpc/.config/tmux/tmux.conf diff --git a/phillpc/waybar/config b/phillpc/.config/waybar/config similarity index 100% rename from phillpc/waybar/config rename to phillpc/.config/waybar/config diff --git a/phillpc/waybar/style.css b/phillpc/.config/waybar/style.css similarity index 100% rename from phillpc/waybar/style.css rename to phillpc/.config/waybar/style.css diff --git a/phillpc/fish/fish_variables b/phillpc/fish/fish_variables deleted file mode 100644 index ad10b9b..0000000 --- a/phillpc/fish/fish_variables +++ /dev/null @@ -1,3 +0,0 @@ -# This file contains fish universal variable definitions. -# VERSION: 3.0 -SETUVAR __fish_initialized:4300