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 tabbed
 | 
			
		||||
workspace_layout default
 | 
			
		||||
default_border normal
 | 
			
		||||
default_floating_border none
 | 
			
		||||
font pango:monospace 0.001
 | 
			
		||||
titlebar_padding 1
 | 
			
		||||
titlebar_border_thickness 0
 | 
			
		||||
titlebar_border_thickness 1
 | 
			
		||||
smart_borders off
 | 
			
		||||
gaps inner 10
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
### Variables
 | 
			
		||||
# Logo key. Use Mod1 for Alt.
 | 
			
		||||
#
 | 
			
		||||
 | 
			
		||||
set $mod Mod4
 | 
			
		||||
# Home row direction keys, like vim
 | 
			
		||||
set $left h
 | 
			
		||||
set $down j
 | 
			
		||||
set $up k
 | 
			
		||||
| 
						 | 
				
			
			@ -31,10 +32,11 @@ set $menu fish -c 'rofi -show run -terminal $term'
 | 
			
		|||
set $switcher rofi -show window
 | 
			
		||||
set $laptop eDP-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 $external {
 | 
			
		||||
| 
						 | 
				
			
			@ -46,6 +48,7 @@ output $external {
 | 
			
		|||
    adaptive_sync on
 | 
			
		||||
    dpms on
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
output $laptop {
 | 
			
		||||
    mode  2560x1600@240.0Hz
 | 
			
		||||
    pos 1280 3927
 | 
			
		||||
| 
						 | 
				
			
			@ -60,18 +63,12 @@ bindswitch --reload --locked lid:on output $laptop disable
 | 
			
		|||
bindswitch --reload --locked lid:off output $laptop enable
 | 
			
		||||
 | 
			
		||||
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
 | 
			
		||||
 | 
			
		||||
### 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
 | 
			
		||||
#
 | 
			
		||||
| 
						 | 
				
			
			@ -200,19 +197,8 @@ input "type:keyboard" {
 | 
			
		|||
 | 
			
		||||
    # Move focus to the parent container
 | 
			
		||||
    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:
 | 
			
		||||
#
 | 
			
		||||
mode "resize" {
 | 
			
		||||
| 
						 | 
				
			
			@ -239,9 +225,22 @@ bindsym $mod+r mode "resize"
 | 
			
		|||
 | 
			
		||||
 | 
			
		||||
### Autostart
 | 
			
		||||
#
 | 
			
		||||
 | 
			
		||||
exec swaylock
 | 
			
		||||
workspace 1
 | 
			
		||||
exec $term
 | 
			
		||||
exec $browser
 | 
			
		||||
workspace 2
 | 
			
		||||
exec obsidian
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
### Idle configuration
 | 
			
		||||
#
 | 
			
		||||
 | 
			
		||||
exec ~/.config/sway/idle.fish
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
# Include configs from 3 locations:
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue