This commit is contained in:
bullshar-k
2026-05-31 16:14:17 -04:00
parent fe3042e05e
commit 609a3322a0
6 changed files with 834 additions and 1 deletions
+104
View File
@@ -0,0 +1,104 @@
#shark's mostly stolen mangowm conffig
#monitor config, change as needed
monitorrule=name:Virtual-1,width:2048,height:1152,refresh:60,x:0,y:0
#cursor
cursor_theme=Bibata-Modern-Ice
cursor_size=24
#color scheme
rootcolor=0x000000ff
bordercolor=0xfffcffff
focuscolor=0xffabfcff
urgentcolor=0x888888ff
#border
borderpx=3
gappih=5
gappiv=5
gappoh=10
gappov=10
#tiling type fair
tagrule=id:1,monitor_name:Virtual-1,layout_name:fair
#anims
animations=1
layer_animations=1
animation_type_open=slide
animation_type_close=slide
layer_animation_type_open=slide
layer_animation_type_close=slide
#startup
exec-once=/usr/lib/xdg-desktop-portal-wlr &
exec-once=wl-clip-persist -clipboard regular --reconnect-tries 0 &
exec-once=wl-paste --type text --watch cliphist store &
exec-once=swaybg -i /home/shark/walls/felix.jpg -m fill &
exec-once=waybar
#keyboard
repeat_rate=25
repeat_delay=600
numlockon=0
xkb_rules_layout=us,de
xkb_rules_options=grp:alt_caps_toggle
#binds
#core
bind=SUPER,R,spawn,kitty
bind=SUPER,d,spawn,librewolf
bind=SUPER,w,killclient
#focusing
bind=SUPER,Tab,focusstack,next
bind=ALT,Left,focusdir,left
bind=ALT,Right,focusdir,right
bind=ALT,Up,focusdir,up
bind=ALT,Down,focusdir,down
#swapping
bind=SUPER+SHIFT,Up,exchange_client,up
bind=SUPER+SHIFT,Down,exchange_client,down
bind=SUPER+SHIFT,Left,exchange_client,left
bind=SUPER+SHIFT,Right,exchange_client,right
#floating
bind=SUPER+SHIFT,f,togglefloating
#tag switch
bind=SUPER,Left,viewtoleft,0
bind=SUPER,Right,viewtoright,0
bind=CTRL+SUPER,Left,tagtoleft,0
bind=CTRL+SUPER,Right,tagtoright,0
#view tags
bind=Ctrl,1,view,1,0
bind=Ctrl,2,view,2,0
bind=Ctrl,3,view,3,0
bind=Ctrl,4,view,4,0
bind=Ctrl,5,view,5,0
bind=Ctrl,6,view,6,0
bind=Ctrl,7,view,7,0
bind=Ctrl,8,view,8,0
bind=Ctrl,9,view,9,0
#screenshot
bind=NONE,Print,spawn_shell,g=$(slurp -d) && [ -n "$g" ] && grim -g "$g" $HOME/Pictures/Screenshots/$(date +%d%H%M%S).png
#audio
bind=NONE,XF86AudioRaiseVolume,spawn,wpctl set-volume @DEFAULT_SINK@ 5%+
bind=NONE,XF86AudioLowerVolume,spawn,wpctl set-volume @DEFAULT_SINK@ 5%-
bind=NONE,XF86AudioMute,spawn,wpctl set-mute @DEFAULT_SINK@ toggle
bind=SHIFT,XF86AudioMute,spawn,wpctl set-mute @DEFAULT_SOURCE@ toggle
#resize
mousebind=SUPER,btn_left,moveresize,curmove
mousebind=NONE,btn_middle,togglemaximizescreen,0
mousebind=SUPER,btn_right,moveresize,curresize
#etc keybinds, DONT REMOVE!!!
bind=SUPER+SHIFT,R,reload_config
bind=SUPER+SHIFT,M,quit
+90
View File
@@ -0,0 +1,90 @@
//-*- mode: jsonc -*-
{
"layer": "top",
"position": "top",
"height": 30,
"spacing": 4,
// Choose the order of the modules
"modules-left": [
"ext/workspaces",
"custom/sep",
"ext/window",
"custom/sep"
],
"modules-center": [
],
"modules-right": [
"custom/sep",
"network",
"custom/sep",
"cpu",
"custom/sep",
"memory",
"custom/sep",
"disk",
"custom/sep",
"clock",
"custom/sep",
"tray"
],
// Modules configuration
"ext/workspaces": {
"disable-scroll": true,
"all-outputs": true,
"warp-on-scroll": false,
"format": "{name}",
"persistent-workspaces": {
"*" : 9
}
},
"ext/window" : {
"max-length": 40,
"seperate-outputs": false
},
"tray": {
// "icon-size": 21,
"spacing": 10
// "icons": {
// "blueman": "bluetooth",
// "TelegramDesktop": "$HOME/.local/share/icons/hicolor/16x16/apps/telegram.png"
// }
},
"clock": {
"format-alt": "{:%Y-%m-%d}"
},
"cpu": {
"format": "CPU: {usage}%",
"tooltip": false
},
"memory": {
"format": "Mem: {used}GiB"
},
"disk": {
"interval": 60,
"path": "/",
"format": "Disk: {free}"
},
"battery": {
"states": {
"good": 95,
"warning": 30,
"critical": 15
},
"format": "Bat: {capacity}% {icon} {time}",
"format-plugged": "{capacity}% ",
"format-alt": "Bat {capacity}%",
"format-time": "{H}:{M}",
"format-icons": ["", "", "", "", ""]
},
"network": {
"format": "Online",
"format-disconnected": "Disconnected ⚠"
},
"custom/sep": {
"format" : "|",
"interval" : 0
}
}
+104
View File
@@ -0,0 +1,104 @@
@define-color bg #1a1b26;
@define-color fg #a9b1d6;
@define-color blk #32344a;
@define-color red #f7768e;
@define-color grn #9ece6a;
@define-color ylw #e0af68;
@define-color blu #7aa2f7;
@define-color mag #ad8ee6;
@define-color cyn #0db9d7;
@define-color brblk #444b6a;
@define-color white #ffffff;
* {
font-family: "JetBrainsMono Nerd Font", monospace;
font-size: 16px;
font-weight: bold;
}
window#waybar {
background-color: @bg;
color: @fg;
}
#workspaces button {
padding: 0 6px;
color: @cyn;
background: transparent;
border-bottom: 3px solid @bg;
}
#workspaces button.active {
color: @cyn;
border-bottom: 3px solid @mag;
}
#workspaces button.empty {
color: @white;
}
#workspaces button.empty.active {
color: @cyn;
border-bottom: 3px solid @mag;
}
#workspaces button.urgent {
background-color: @red;
}
button:hover {
background: inherit;
box-shadow: inset 0 -3px #ffffff;
}
#clock,
#custom-sep,
#battery,
#cpu,
#memory,
#disk,
#network,
#tray {
padding: 0 8px;
color: @white;
}
#custom-sep {
color: @brblk;
}
#clock {
color: @cyn;
border-bottom: 4px solid @cyn;
}
#battery {
color: @mag;
border-bottom: 4px solid @mag;
}
#disk {
color: @ylw;
border-bottom: 4px solid @ylw;
}
#memory {
color: @mag;
border-bottom: 4px solid @mag;
}
#cpu {
color: @grn;
border-bottom: 4px solid @grn;
}
#network {
color: @blu;
border-bottom: 4px solid @blu;
}
#network.disconnected {
background-color: @red;
}
#tray {
background-color: #2980b9;
}