almost usable
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
[main]
|
||||
font=JetBrainsMono Nerd Font:size=14
|
||||
+18
-16
@@ -12,6 +12,8 @@ set $menu wmenu-run
|
||||
|
||||
exec "foot --server"
|
||||
|
||||
output * bg ~/Pictures/henri.jpg fill
|
||||
|
||||
input type:keyboard {
|
||||
xkb_layout "se"
|
||||
xkb_variant "nodeadkeys"
|
||||
@@ -31,6 +33,8 @@ bindsym $mod+shift+q exec wlogout
|
||||
bindsym $mod+Return exec $term
|
||||
bindsym $mod+q kill
|
||||
bindsym $mod+d exec $menu
|
||||
bindsym $mod+space floating toggle
|
||||
bindsym $mod+Shift+r reload
|
||||
|
||||
bindsym $mod+Alt+h splith
|
||||
bindsym $mod+Alt+v splitv
|
||||
@@ -41,6 +45,11 @@ 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+1 workspace number 1
|
||||
bindsym $mod+2 workspace number 2
|
||||
bindsym $mod+3 workspace number 3
|
||||
@@ -72,20 +81,13 @@ mode "resize" {
|
||||
bindsym $mod+r mode "resize"
|
||||
|
||||
gaps inner 10
|
||||
bar {
|
||||
position top
|
||||
|
||||
# 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 (%a w%V) %H:%M'; do sleep 1; done
|
||||
|
||||
colors {
|
||||
statusline $white
|
||||
background $black
|
||||
urgent_workspace $red $black $red
|
||||
focused_workspace $black $black $red
|
||||
inactive_workspace $black $black $white
|
||||
}
|
||||
}
|
||||
exec_always pkill waybar; waybar
|
||||
|
||||
bindsym $mod+Shift+s exec 'grim -l 0 -g "$(slurp)" - wl-copy'
|
||||
bindsym $mod+Shift+s exec 'grim -l 0 -g "$(slurp)" - | wl-copy'
|
||||
bindsym $mod+Alt+s exec 'mkdir -p ~/Pictures/Screenshots && grim -l 0 -g "$(slurp)" ~/Pictures/Screenshots/$(date +"%Y-%m-%d_%H-%M-%S").png'
|
||||
|
||||
exec swayidle -w \
|
||||
timeout 300 'swaylock -f -c 1a1b26' \
|
||||
timeout 600 'swaymsg "output * dpms off"' \
|
||||
resume 'swaymsg "output * dpms on"' \
|
||||
before-sleep 'swaylock -f -c 1a1b26'
|
||||
|
||||
@@ -0,0 +1,32 @@
|
||||
{
|
||||
"layer": "top",
|
||||
"position": "top",
|
||||
"height": 24,
|
||||
"modules-left": ["sway/workspaces"],
|
||||
"modules-center": ["clock"],
|
||||
"modules-right": ["cpu", "battery"],
|
||||
|
||||
"sway/workspaces": {
|
||||
"disable-scroll": true
|
||||
},
|
||||
|
||||
"clock": {
|
||||
"format": "{:%y-%m-%d (%a w%V) %H:%M}",
|
||||
"interval": 60
|
||||
},
|
||||
|
||||
"cpu": {
|
||||
"format": "CPU {usage}%",
|
||||
"interval": 2
|
||||
},
|
||||
|
||||
"battery": {
|
||||
"format": " {capacity}%",
|
||||
"format-charging": " {capacity}%",
|
||||
"format-full": " FULL",
|
||||
"states": {
|
||||
"warning": 30,
|
||||
"critical": 15
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,50 @@
|
||||
* {
|
||||
font-family: JetBrainsMono Nerd Font;
|
||||
font-size: 13px;
|
||||
border: none;
|
||||
border-radius: 0;
|
||||
min-height: 0;
|
||||
}
|
||||
|
||||
window#waybar {
|
||||
background: #0a0a0a;
|
||||
color: #f3eeea;
|
||||
}
|
||||
|
||||
#workspaces button {
|
||||
color: #f3eeea;
|
||||
background: transparent;
|
||||
padding: 0 4px;
|
||||
}
|
||||
|
||||
#workspaces button.focused {
|
||||
color: #cd0a00;
|
||||
}
|
||||
|
||||
#workspaces button:hover {
|
||||
color: #cd0a00;
|
||||
background: transparent;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
#clock {
|
||||
color: #f3eeea;
|
||||
}
|
||||
|
||||
#cpu {
|
||||
color: #f3eeea;
|
||||
padding: 0 8px;
|
||||
}
|
||||
|
||||
#battery {
|
||||
color: #f3eeea;
|
||||
padding: 0 8px;
|
||||
}
|
||||
|
||||
#battery.warning {
|
||||
color: #cd0a00;
|
||||
}
|
||||
|
||||
#battery.critical {
|
||||
color: #cd0a00;
|
||||
}
|
||||
Reference in New Issue
Block a user