Commit 3c400141014e9d3741ed0d59d89db1a2416989eb
Commits[COMMIT BEGIN]commit 3c400141014e9d3741ed0d59d89db1a2416989eb Author: 0x4248 <[email protected]> Date: Tue Dec 9 19:06:43 2025 +0000 systems/linux/dotfiles: add generic dotfiles diff --git a/systems/linux/dotfiles/main/.config/sway/config b/systems/linux/dotfiles/main/.config/sway/config new file mode 100644 index 0000000..a2d54c7 --- /dev/null +++ b/systems/linux/dotfiles/main/.config/sway/config @@ -0,0 +1,139 @@ +### Variables +set $mod Mod4 +set $left h +set $down j +set $up k +set $right l +set $term kitty +set $menu dmenu_run -p RUN: -fn "Departure Mono" -b + +### Theme Colors (Dark Retro Workstation) +set $bg #1a1a1a +set $bg2 #222222 +set $fg #e6e6e6 +set $accent #3c3c3c +set $hl #7a7a7a + +font pango:Departure Mono 12 + +default_border pixel 2 +default_floating_border pixel 2 + +client.focused $bg2 $hl $fg $fg +client.unfocused $bg $bg2 $accent $accent +client.focused_inactive $bg $accent $fg $fg +client.urgent #702020 #702020 #ffffff #ffffff + + +### Output configuration +output * bg ~/Documents/Wallpapers/furry.jpg fill + +### Keybindings + bindsym $mod+Return exec $term + bindsym $mod+Backspace kill + bindsym $mod+d exec $menu + + floating_modifier $mod normal + + bindsym $mod+Shift+c reload + bindsym $mod+Shift+e exec swaynag -t warning -m 'Exit sway?' -B 'Yes' 'swaymsg exit' + + 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 + + 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+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+b splith + bindsym $mod+v splitv + bindsym $mod+s layout stacking + bindsym $mod+w layout tabbed + bindsym $mod+e layout toggle split + bindsym $mod+f fullscreen + bindsym $mod+Shift+space floating toggle + bindsym $mod+space focus mode_toggle + bindsym $mod+a focus parent + +### Scratchpad + bindsym $mod+Shift+minus move scratchpad + bindsym $mod+minus scratchpad show + +### Screenshot + + bindsym Print exec grim -g "$(slurp)" - | swappy -f - + +### Resize Mode +mode "resize" { + bindsym $left resize shrink width 10px + bindsym $down resize grow height 10px + bindsym $up resize shrink height 10px + bindsym $right resize grow width 10px + bindsym Left resize shrink width 10px + bindsym Down resize grow height 10px + bindsym Up resize shrink height 10px + bindsym Right resize grow width 10px + + bindsym Return mode "default" + bindsym Escape mode "default" +} +bindsym $mod+r mode "resize" + + +### Audio & Brightness + 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%+ + + +### Retro Swaybar +bar { +} + +exec_always { + waybar +} + +### GTK / QT Apps +exec_always { + gsettings set org.gnome.desktop.interface gtk-theme 'Adwaita-dark' + QT_QPA_PLATFORMTHEME=qt5ct qt5ct +} + +include /etc/sway/config.d/* diff --git a/systems/linux/dotfiles/main/.config/waybar/config b/systems/linux/dotfiles/main/.config/waybar/config new file mode 100644 index 0000000..fd045f2 --- /dev/null +++ b/systems/linux/dotfiles/main/.config/waybar/config @@ -0,0 +1,26 @@ +{ + "layer": "top", + "position": "top", + "modules-left": ["sway/workspaces", "custom/clock"], + "modules-center": ["custom/uptime", "memory"], + "modules-right": ["pulseaudio", "battery", "network"], + + "sway/workspaces": { + "disable-scroll": true + }, + + "custom/clock": { + "exec": "date", + "interval": 1 + }, + + "memory": { + "format": "{used} / {total} MB" + }, + + "custom/uptime": { + "exec": "uptime -p", + "interval": 30 + } +} + diff --git a/systems/linux/dotfiles/main/.config/waybar/style.css b/systems/linux/dotfiles/main/.config/waybar/style.css new file mode 100644 index 0000000..81daf58 --- /dev/null +++ b/systems/linux/dotfiles/main/.config/waybar/style.css @@ -0,0 +1,31 @@ +/* General bar */ +* { + background: #1a1a1a; + color: #e6e6e6; + font-family: "Departure Mono", monospace; + font-size: 12px; +} + +/* Active workspace */ +#workspaces button.active { + background: #222222; + color: #7a7a7a; +} + +/* Inactive workspace */ +#workspaces button { + background: #1a1a1a; + color: #3c3c3c; + border-right: 1px solid #3c3c3c; +} + +/* Hover effect */ +button:hover { + background: #3c3c3c; +} + +/* Modules */ +#clock, #memory, #battery, #network { + padding: 0 8px; +} +[COMMIT END](C) 2025 0x4248 (C) 2025 4248 Media and 4248 Systems, All part of 0x4248 See LICENCE files for more information. Not all files are by 0x4248 always check Licencing.