Config moar
This commit is contained in:
parent
308254ad72
commit
4c64ec4511
6 changed files with 760 additions and 174 deletions
|
|
@ -1,3 +1,28 @@
|
|||
# Sway fx
|
||||
blur enable
|
||||
blur_xray disable
|
||||
blur_passes 4
|
||||
blur_radius 4
|
||||
|
||||
shadows enable
|
||||
shadows_on_csd enable
|
||||
shadow_blur_radius 20
|
||||
smart_corner_radius enable
|
||||
corner_radius 10
|
||||
|
||||
layer_effects "waybar" blur enable; shadows disable; corner_radius 15
|
||||
layer_effects "gtk-layer-shell" blur enable; shadows enable; corner_radius 13
|
||||
layer_effects "wofi" blur enable; shadows enable; corner_radius 13
|
||||
|
||||
titlebar_separator disable
|
||||
|
||||
default_border pixel 5
|
||||
font pango:JetBrainsMono Regular 10
|
||||
smart_borders on
|
||||
smart_gaps off
|
||||
|
||||
# Slight gaps around windows
|
||||
gaps inner 20
|
||||
|
||||
# Colors
|
||||
set $black #000000
|
||||
|
|
@ -27,8 +52,6 @@ set $white_super #ffffff
|
|||
client.focused $black $yellow_super $black $black $black
|
||||
client.focused_inactive $black $black_super $white $black $black
|
||||
|
||||
# Slight gaps around windows
|
||||
gaps inner 6
|
||||
|
||||
# Read `man 5 sway` for a complete reference.
|
||||
|
||||
|
|
@ -46,7 +69,7 @@ set $term foot
|
|||
# Your preferred application launcher
|
||||
# Note: pass the final command to swaymsg so that the resulting window can be opened
|
||||
# on the original workspace that the command was run on.
|
||||
set $menu rofi -show drun | xargs swaymsg exec --
|
||||
set $menu wofi --show drun --gtk-dark | xargs swaymsg exec --
|
||||
|
||||
include /etc/sway/config-vars.d/*
|
||||
|
||||
|
|
@ -110,45 +133,19 @@ input type:touchpad {
|
|||
natural_scroll enabled
|
||||
}
|
||||
|
||||
|
||||
input 1241:36:HOLDCHIP_USB_Keyboard {
|
||||
xkb_layout us
|
||||
xkb_variant colemak
|
||||
xkb_options ctrl:nocaps
|
||||
}
|
||||
|
||||
input 16700:8455:DELL_Dell_USB_Entry_Keyboard {
|
||||
xkb_layout gb
|
||||
xkb_variant colemak
|
||||
xkb_options ctrl:nocaps
|
||||
}
|
||||
#input type:keyboard {
|
||||
# xkb_layout gb
|
||||
# xkb_variant colemak
|
||||
# xkb_options ctrl:nocaps
|
||||
#}
|
||||
|
||||
input 65261:4871:TMK/Cub_Ergodox {
|
||||
xkb_layout gb
|
||||
xkb_options compose:prsc
|
||||
}
|
||||
|
||||
input 9494:21:CM_Storm_Quickfire_Pro_Ultimate_6_key {
|
||||
xkb_layout gb
|
||||
xkb_variant colemak
|
||||
xkb_options ctrl:nocaps
|
||||
}
|
||||
|
||||
input 1:1:AT_Translated_Set_2_keyboard {
|
||||
xkb_layout gb
|
||||
xkb_variant colemak
|
||||
xkb_options ctrl:nocaps
|
||||
}
|
||||
|
||||
input 9610:4102:Gaming_KB__Gaming_KB {
|
||||
xkb_layout gb
|
||||
xkb_variant colemak
|
||||
xkb_options ctrl:nocaps
|
||||
}
|
||||
|
||||
|
||||
input 1133:49948:Logitech_USB_Keyboard {
|
||||
xkb_layout gb
|
||||
input 1241:36:HOLDCHIP_USB_Keyboard {
|
||||
xkb_layout us
|
||||
xkb_variant colemak
|
||||
xkb_options ctrl:nocaps
|
||||
}
|
||||
|
|
@ -169,6 +166,7 @@ input 1133:49948:Logitech_USB_Keyboard {
|
|||
# Drag floating windows by holding down $mod and left mouse button.
|
||||
# Resize them with right mouse button + $mod.
|
||||
# Despite the name, also works for non-floating windows.
|
||||
|
||||
# Change normal to inverse to use left mouse button for resizing and right
|
||||
# mouse button for dragging.
|
||||
floating_modifier $mod normal
|
||||
|
|
@ -326,149 +324,41 @@ bindsym $mod+Alt+l exec 'swaylock -e -f -i ~/Pictures/Backgrounds/DSC02113.jpg'
|
|||
include /etc/sway/config.d/*
|
||||
# host specific section
|
||||
|
||||
{{- if eq .chezmoi.hostname "rhenium" }}
|
||||
bar {
|
||||
id bar_internal
|
||||
status_command ~/.local/bin/conky-i3bar ~/.conkyrc-main
|
||||
position top
|
||||
output "eDP-1"
|
||||
font pango:JetBrainsMono NFM 10
|
||||
colors {
|
||||
background $black_super
|
||||
focused_background $black
|
||||
focused_workspace $black_super $yellow_super $black
|
||||
active_workspace $black_super $blue_super $black
|
||||
inactive_workspace $black_super $black_super $white_super
|
||||
urgent_workspace $black $red_super $white
|
||||
separator $white
|
||||
}
|
||||
id waybar
|
||||
swaybar_command waybar
|
||||
}
|
||||
|
||||
output eDP-1 {
|
||||
scale 2
|
||||
position 0 0
|
||||
background ~/Pictures/background_1800.png center
|
||||
}
|
||||
{{- end }}
|
||||
{{- if eq .chezmoi.hostname "baryte" }}
|
||||
bar {
|
||||
id bar_right
|
||||
status_command ~/.local/bin/conky-i3bar ~/.conkyrc-net
|
||||
position top
|
||||
output "Acer Technologies VG270U P 0x05217924"
|
||||
font pango:JetBrainsMono NFM 10
|
||||
colors {
|
||||
background $black_super
|
||||
focused_background $black
|
||||
focused_workspace $black_super $yellow_super $black
|
||||
active_workspace $black_super $blue_super $black
|
||||
inactive_workspace $black_super $black_super $white_super
|
||||
urgent_workspace $black $red_super $white
|
||||
separator $white
|
||||
}
|
||||
}
|
||||
|
||||
bar {
|
||||
id bar_right_alt
|
||||
status_command ~/.local/bin/conky-i3bar ~/.conkyrc-net
|
||||
position top
|
||||
output HDMI-A-1
|
||||
font pango:JetBrainsMono NFM 10
|
||||
colors {
|
||||
background $black_super
|
||||
focused_background $black
|
||||
focused_workspace $black_super $yellow_super $black
|
||||
active_workspace $black_super $blue_super $black
|
||||
inactive_workspace $black_super $black_super $white_super
|
||||
urgent_workspace $black $red_super $white
|
||||
separator $white
|
||||
}
|
||||
}
|
||||
|
||||
bar {
|
||||
id bar_right_alt_alt
|
||||
status_command ~/.local/bin/conky-i3bar ~/.conkyrc-net
|
||||
position top
|
||||
output "LG Electronics LG FULL HD"
|
||||
font pango:JetBrainsMono NFM 10
|
||||
colors {
|
||||
background $black_super
|
||||
focused_background $black
|
||||
focused_workspace $black_super $yellow_super $black
|
||||
active_workspace $black_super $blue_super $black
|
||||
inactive_workspace $black_super $black_super $white_super
|
||||
urgent_workspace $black $red_super $white
|
||||
separator $white
|
||||
}
|
||||
}
|
||||
|
||||
bar {
|
||||
id bar_internal
|
||||
status_command ~/.local/bin/conky-i3bar ~/.conkyrc-main
|
||||
position top
|
||||
output "eDP-1"
|
||||
font pango:JetBrainsMono NFM 10
|
||||
colors {
|
||||
background $black_super
|
||||
focused_background $black
|
||||
focused_workspace $black_super $yellow_super $black
|
||||
active_workspace $black_super $blue_super $black
|
||||
inactive_workspace $black_super $black_super $white_super
|
||||
urgent_workspace $black $red_super $white
|
||||
separator $white
|
||||
}
|
||||
}
|
||||
|
||||
output eDP-1 {
|
||||
background ~/Pictures/Backgrounds/DSC02113.jpg fill
|
||||
position 230 1080
|
||||
scale 2
|
||||
}
|
||||
|
||||
output "Acer Technologies VG270U P 0x05217924" {
|
||||
background ~/Pictures/Backgrounds/DSC02111.jpg fill
|
||||
position 1670 810
|
||||
scale 1
|
||||
}
|
||||
|
||||
output "LG Electronics LG FULL HD" {
|
||||
background ~/Pictures/Backgrounds/DSC02111.jpg fill
|
||||
position 0 0
|
||||
scale 1
|
||||
}
|
||||
|
||||
workspace 1 output eDP-1
|
||||
workspace 3 output eDP-1
|
||||
workspace 2 output "Acer Technologies VG270U P 0x05217924"
|
||||
workspace 4 output "Acer Technologies VG270U P 0x05217924"
|
||||
|
||||
exec dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=sway
|
||||
exec mako&
|
||||
exec zoom&
|
||||
|
||||
for_window [class="zoom"] floating enable
|
||||
for_window [class="zoom" title="Zoom Workplace - Licensed account"] floating disable
|
||||
|
||||
for_window [app_id="firefox" title="Extension:*"] floating enable
|
||||
{{- end }}
|
||||
{{- if eq .chezmoi.hostname "dubnium" }}
|
||||
bar {
|
||||
id bar_main
|
||||
status_command ~/.local/bin/conky-i3bar ~/.conkyrc-main
|
||||
position top
|
||||
output "Acer Technologies VG270U P 0x05217924"
|
||||
font pango:JetBrainsMono NFM 10
|
||||
colors {
|
||||
background $black_super
|
||||
focused_background $black
|
||||
focused_workspace $black_super $yellow_super $black
|
||||
active_workspace $black_super $blue_super $black
|
||||
inactive_workspace $black_super $black_super $white_super
|
||||
urgent_workspace $black $red_super $white
|
||||
separator $white
|
||||
}
|
||||
|
||||
exec dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=sway
|
||||
exec swaync&
|
||||
|
||||
{{- if eq .chezmoi.hostname "baryte" }}
|
||||
|
||||
output "Acer Technologies VG270U P 0x05217924" {
|
||||
background ~/Pictures/Backgrounds/DSC02111.jpg fill
|
||||
position 0 0
|
||||
scale 1
|
||||
}
|
||||
|
||||
output "Acer Technologies VG270U P 0x9392CFAC" {
|
||||
background ~/Pictures/Backgrounds/DSC02111.jpg fill
|
||||
position 2560 0
|
||||
scale 1
|
||||
}
|
||||
|
||||
|
||||
workspace 1 output "Acer Technologies VG270U P 0x05217924"
|
||||
workspace 2 output "Acer Technologies VG270U P 0x9392CFAC"
|
||||
|
||||
exec zoom&
|
||||
|
||||
{{- end }}
|
||||
{{- if eq .chezmoi.hostname "dubnium" }}
|
||||
|
||||
output "Acer Technologies VG270U P 0x05217924" {
|
||||
background ~/Pictures/background.jpg fill
|
||||
|
|
@ -476,8 +366,4 @@ output "Acer Technologies VG270U P 0x05217924" {
|
|||
scale 1
|
||||
}
|
||||
|
||||
exec dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=sway
|
||||
exec mako&
|
||||
|
||||
for_window [app_id="firefox" title="Extension:*"] floating enable
|
||||
{{- end }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue