Finished hacker theme mostly and added some other configs

This commit is contained in:
ManOfGoldForever 2026-04-03 10:57:53 -04:00
parent 0c499ecbd6
commit ad06f5284e
91 changed files with 1928 additions and 3 deletions

View file

@ -0,0 +1,171 @@
include ./monitors
include ./exec
include ./theme
exec dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=sway
set $gnome-schema org.gnome.desktop.interface
exec_always {
export WLR_NO_HARDWARE_CURSORS=1
export GBM_BACKEND=nvidia-drm
export __GLX_VENDOR_LIBRARY_NAME=nvidia
export WLR_RENDERER=vulkan
}
include "$(/usr/libexec/sway/layered-include '/usr/share/sway/config.d/*.conf' '/etc/sway/config.d/*.conf')"
set $mod Mod4
# direction keys
set $left h
set $down j
set $up k
set $right l
set $term kitty
set $menu kitty --app-id fsel fsel -r -d
set $launcher kitty --app-id otter-launcher otter-launcher
set $browser /home/henry/AppImages/helium.appimage
set $filemanager kitty -e yazi
for_window [app_id="fsel"] border pixel 2
for_window [app_id="otter-launcher"] border pixel 2
# -Key bindings-
# Basics:
bindsym $mod+Return exec $term
bindsym $mod+q kill
bindsym $mod+space exec $menu
bindsym $mod+d exec $launcher
floating_modifier $mod normal
bindsym $mod+Shift+r reload
bindsym $mod+Shift+e exit
# App launchers:
bindsym $mod+b exec $browser
bindsym $mod+e exec $filemanager
bindsym $mod+w exec ~/.config/rofi/wallpaper_selector.sh
bindsym $mod+p exec wlogout
bindsym $mod+s exec steam
bindsym $mod+a exec mumble
# Moving around:
bindsym $mod+$left focus left
bindsym $mod+$down focus down
bindsym $mod+$up focus up
bindsym $mod+$right focus right
bindsym $mod+Left focus left
bindsym $mod+Down focus down
bindsym $mod+Up focus up
bindsym $mod+Right focus right
bindsym $mod+Shift+$left move left
bindsym $mod+Shift+$down move down
bindsym $mod+Shift+$up move up
bindsym $mod+Shift+$right move right
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:
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
bindsym $mod+6 workspace number 6
bindsym $mod+7 workspace number 7
bindsym $mod+8 workspace number 8
bindsym $mod+9 workspace number 9
bindsym $mod+0 workspace number 10
bindsym $mod+n workspace number 11
bindsym $mod+m workspace number 12
# Move window silently to workspace:
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+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
bindsym $mod+Shift+7 move container to workspace number 7
bindsym $mod+Shift+8 move container to workspace number 8
bindsym $mod+Shift+9 move container to workspace number 9
bindsym $mod+Shift+0 move container to workspace number 10
bindsym $mod+Shift+n move container to workspace number 11
bindsym $mod+Shift+m move container to workspace number 12
# Move window to workspace and follow:
bindsym $mod+Ctrl+1 move container to workspace number 1; workspace number 1
bindsym $mod+Ctrl+2 move container to workspace number 2; workspace number 2
bindsym $mod+Ctrl+3 move container to workspace number 3; workspace number 3
bindsym $mod+Ctrl+4 move container to workspace number 4; workspace number 4
bindsym $mod+Ctrl+5 move container to workspace number 5; workspace number 5
bindsym $mod+Ctrl+6 move container to workspace number 6; workspace number 6
bindsym $mod+Ctrl+7 move container to workspace number 7; workspace number 7
bindsym $mod+Ctrl+8 move container to workspace number 8; workspace number 8
bindsym $mod+Ctrl+9 move container to workspace number 9; workspace number 9
bindsym $mod+Ctrl+0 move container to workspace number 10; workspace number 10
bindsym $mod+Ctrl+Left move container to workspace prev; workspace prev
bindsym $mod+Ctrl+Right move container to workspace next; workspace next
# Workspace cycling:
bindsym $mod+period workspace next_on_output
bindsym $mod+comma workspace prev_on_output
bindsym $mod+slash workspace back_and_forth
# Scratchpad:
bindsym $mod+minus move scratchpad
bindsym $mod+equal scratchpad show
# Layout stuff:
bindsym $mod+Shift+b splith
bindsym $mod+Shift+v splitv
bindsym $mod+Shift+s layout stacking
bindsym $mod+Shift+w layout tabbed
bindsym $mod+t layout toggle split
bindsym $mod+f fullscreen
bindsym $mod+v floating toggle
# Resize mode:
bindsym $mod+r mode "resize"
mode "resize" {
bindsym $left resize shrink width 15px
bindsym $down resize grow height 15px
bindsym $up resize shrink height 15px
bindsym $right resize grow width 15px
bindsym Left resize shrink width 15px
bindsym Down resize grow height 15px
bindsym Up resize shrink height 15px
bindsym Right resize grow width 15px
bindsym $mod+Ctrl+Shift+Left resize shrink width 15px
bindsym $mod+Ctrl+Shift+Down resize grow height 15px
bindsym $mod+Ctrl+Shift+Up resize shrink height 15px
bindsym $mod+Ctrl+Shift+Right resize grow width 15px
bindsym Return mode "default"
bindsym Escape mode "default"
bindsym $mod+r mode "default"
}
# Utilities:
# Volume
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
# Brightness
bindsym --locked XF86MonBrightnessDown exec brightnessctl set 5%-
bindsym --locked XF86MonBrightnessUp exec brightnessctl set 5%+
# Screenshots
bindsym Print exec grim -g "$(slurp)" - | wl-copy
bindsym Shift+Print exec grim - | wl-copy
bindsym Ctrl+Print exec grim -o $(swaymsg -t get_outputs | jq -r '.[] | select(.focused) | .name') - | wl-copy
# Playback
bindsym $mod+bracketright exec playerctl --player=spotify_player next
bindsym $mod+bracketleft exec playerctl --player=spotify_player previous
bindsym $mod+backslash exec playerctl --player=spotify_player play-pause
bindsym XF86AudioPlay exec playerctl play-pause
bindsym XF86AudioNext exec playerctl next
bindsym XF86AudioPrev exec playerctl previous
include @sysconfdir@/sway/config.d/*

View file

@ -0,0 +1,6 @@
exec_always autotiling
exec export QT_QPA_PLATFORMTHEME=qt6ct
exec export XDG_CURRENT_DESKTOP=sway
exec systemctl --user set-environment XDG_CURRENT_DESKTOP=sway
exec systemctl --user import-environment DISPLAY WAYLAND_DISPLAY SWAYSOCK XDG_CURRENT_DESKTOP
exec systemctl --user start xdg-desktop-portal-wlr.service

View file

@ -0,0 +1,19 @@
# Wallpaper - solid color
output * bg #141514 solid_color
# Monitors:
output HDMI-A-1 res 1920x1080@239.76Hz pos 0,0 transform 0
output DP-1 res 2560x1440@59.95Hz pos 1920,0 transform 270
output eDP-2 disable
# Workspace assignments:
# 1-2 → HDMI-A-1 (primary)
# 3-5 → DP-1 (secondary)
# 6-12 → follows focused output
workspace 1 output HDMI-A-1
workspace 2 output HDMI-A-1
workspace 3 output DP-1
workspace 4 output DP-1
workspace 5 output DP-1
workspace 1

View file

@ -0,0 +1,44 @@
gaps inner 2px
gaps outer 2px
default_border pixel 2px
default_floating_border pixel 2px
# cursor
seat seat0 xcursor_theme Bibata-Original-Ice 14
# Status Bar:
bar {
swaybar_command swaybar
font Iosevka Term 12
position top
workspace_min_width 36
tray_padding 4
status_command while date +'%m/%d/%Y %I:%M %p'; do sleep 30; done
colors {
background #141514
statusline #ef934d
separator #ef934d
focused_background #1e1f1e
focused_statusline #ef934d
focused_separator #ef934d
focused_workspace #ef934d #141514 #ef934d
active_workspace #7ec97e #141514 #7ec97e
inactive_workspace #141514 #141514 #6a6a6a
urgent_workspace #f16e65 #141514 #f16e65
binding_mode #71b4d6 #141514 #71b4d6
}
}
# -Colors-
# name border bg text ind child_border
client.focused #ef944d #141514 #f4decd #ef944d #ef944d
client.focused_inactive #1e1f1e #141514 #f4decd #1e1f1e #1e1f1e
client.unfocused #1e1f1e #141514 #f4decd #1e1f1e #1e1f1e
client.urgent #f16e65 #141514 #f4decd #f16e65 #f16e65
client.placeholder #1e1f1e #141514 #f4decd #1e1f1e #1e1f1e
# Swayfx
#blur enable
#corner_radius 0
#shadows enable