sway colors
This commit is contained in:
parent
9033d93992
commit
762793e628
1 changed files with 34 additions and 35 deletions
|
@ -1,26 +1,27 @@
|
||||||
# Default config for sway
|
### Interface
|
||||||
#
|
#
|
||||||
# Copy this to ~/.config/sway/config and edit it to your liking.
|
|
||||||
#
|
|
||||||
# Read `man 5 sway` for a complete reference.
|
|
||||||
|
|
||||||
exec swaylock
|
## Window decoration
|
||||||
|
# class border backgr. text indicator child_border
|
||||||
|
client.focused #88c0d0 #434c5e #eceff4 #8fbcbb #88c0d0
|
||||||
|
client.focused_inactive #88c0d0 #2e3440 #d8dee9 #4c566a #4c566a
|
||||||
|
client.unfocused #88c0d0 #2e3440 #d8dee9 #4c566a #4c566a
|
||||||
|
client.urgent #ebcb8b #ebcb8b #2e3440 #8fbcbb #ebcb8b
|
||||||
|
|
||||||
# Interface
|
workspace_layout default
|
||||||
|
|
||||||
workspace_layout tabbed
|
|
||||||
default_border normal
|
default_border normal
|
||||||
default_floating_border none
|
default_floating_border none
|
||||||
font pango:monospace 0.001
|
font pango:monospace 0.001
|
||||||
titlebar_padding 1
|
titlebar_padding 1
|
||||||
titlebar_border_thickness 0
|
titlebar_border_thickness 1
|
||||||
smart_borders off
|
smart_borders off
|
||||||
gaps inner 10
|
gaps inner 10
|
||||||
|
|
||||||
|
|
||||||
### Variables
|
### Variables
|
||||||
# Logo key. Use Mod1 for Alt.
|
#
|
||||||
|
|
||||||
set $mod Mod4
|
set $mod Mod4
|
||||||
# Home row direction keys, like vim
|
|
||||||
set $left h
|
set $left h
|
||||||
set $down j
|
set $down j
|
||||||
set $up k
|
set $up k
|
||||||
|
@ -31,10 +32,11 @@ set $menu fish -c 'rofi -show run -terminal $term'
|
||||||
set $switcher rofi -show window
|
set $switcher rofi -show window
|
||||||
set $laptop eDP-1
|
set $laptop eDP-1
|
||||||
set $external DP-1
|
set $external DP-1
|
||||||
### Output configuration
|
|
||||||
|
|
||||||
|
### Output
|
||||||
#
|
#
|
||||||
# Default wallpaper (more resolutions are available in /usr/share/backgrounds/sway/)
|
|
||||||
# Requires: desktop-backgrounds-compat, swaybg
|
|
||||||
output * bg ~/.config/sway/bg.jpg fill
|
output * bg ~/.config/sway/bg.jpg fill
|
||||||
|
|
||||||
output $external {
|
output $external {
|
||||||
|
@ -46,6 +48,7 @@ output $external {
|
||||||
adaptive_sync on
|
adaptive_sync on
|
||||||
dpms on
|
dpms on
|
||||||
}
|
}
|
||||||
|
|
||||||
output $laptop {
|
output $laptop {
|
||||||
mode 2560x1600@240.0Hz
|
mode 2560x1600@240.0Hz
|
||||||
pos 1280 3927
|
pos 1280 3927
|
||||||
|
@ -60,18 +63,12 @@ bindswitch --reload --locked lid:on output $laptop disable
|
||||||
bindswitch --reload --locked lid:off output $laptop enable
|
bindswitch --reload --locked lid:off output $laptop enable
|
||||||
|
|
||||||
workspace 1 output $external
|
workspace 1 output $external
|
||||||
workspace 1 output $laptop
|
workspace 2 output $external
|
||||||
|
workspace 3 output $external
|
||||||
|
workspace 4 output $external
|
||||||
|
|
||||||
focus_on_window_activation focus
|
focus_on_window_activation focus
|
||||||
|
|
||||||
### Idle configuration
|
|
||||||
#
|
|
||||||
|
|
||||||
exec ~/.config/sway/idle.fish
|
|
||||||
#
|
|
||||||
# This will lock your screen after 300 seconds of inactivity, then turn off
|
|
||||||
# your displays after another 300 seconds, and turn your screens back on when
|
|
||||||
# resumed. It will also lock your screen before your computer goes to sleep.
|
|
||||||
|
|
||||||
### Input configuration
|
### Input configuration
|
||||||
#
|
#
|
||||||
|
@ -200,19 +197,8 @@ input "type:keyboard" {
|
||||||
|
|
||||||
# Move focus to the parent container
|
# Move focus to the parent container
|
||||||
bindsym $mod+a focus parent
|
bindsym $mod+a focus parent
|
||||||
#
|
|
||||||
# Scratchpad:
|
|
||||||
#
|
|
||||||
# Sway has a "scratchpad", which is a bag of holding for windows.
|
|
||||||
# You can send windows there and get them back later.
|
|
||||||
|
|
||||||
# Move the currently focused window to the scratchpad
|
|
||||||
bindsym $mod+Shift+minus move scratchpad
|
|
||||||
|
|
||||||
# Show the next scratchpad window or hide the focused scratchpad window.
|
|
||||||
# If there are multiple scratchpad windows, this command cycles through them.
|
|
||||||
bindsym $mod+minus scratchpad show
|
|
||||||
#
|
|
||||||
# Resizing containers:
|
# Resizing containers:
|
||||||
#
|
#
|
||||||
mode "resize" {
|
mode "resize" {
|
||||||
|
@ -239,9 +225,22 @@ bindsym $mod+r mode "resize"
|
||||||
|
|
||||||
|
|
||||||
### Autostart
|
### Autostart
|
||||||
|
#
|
||||||
|
|
||||||
|
exec swaylock
|
||||||
workspace 1
|
workspace 1
|
||||||
exec $term
|
|
||||||
exec $browser
|
exec $browser
|
||||||
|
workspace 2
|
||||||
|
exec obsidian
|
||||||
|
|
||||||
|
|
||||||
|
### Idle configuration
|
||||||
|
#
|
||||||
|
|
||||||
|
exec ~/.config/sway/idle.fish
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Include configs from 3 locations:
|
# Include configs from 3 locations:
|
||||||
|
|
Loading…
Reference in a new issue