~metalune/Dotfiles

5d2f4aca854a9591192372ec48e0d31cd61a6f0a — metalune 17 days ago 6a6d0e2
Add kebyind to call dmconf in sway
1 files changed, 28 insertions(+), 22 deletions(-)

M .config/sway/config
M .config/sway/config => .config/sway/config +28 -22
@@ 5,31 5,31 @@ set $down h
set $up t
set $right n

set $term footclient
set $term alacritty

set $browser qutebrowser

#set $menu "dmenu_run -p 'Run:' -i --no-exec | xargs swaymsg exec --"
set $menu "dmenu_run -sb '#285577' -p 'Run:'"
set $menu "dmenu_run -nf '#F8F8F2' -nb '#282A36' -sb '#6272A4' -sf '#F8F8F2' -p 'Run:'"

# remove annoying titlebars
default_border pixel 4

set $accent #285577
#set $accent #478061 #green
set $gray #282828
set $red #900000
# class                 border  bground text    indicator child_border
client.focused          #6272A4 #6272A4 #F8F8F2 #6272A4   #6272A4
client.focused_inactive #44475A #44475A #F8F8F2 #44475A   #44475A
client.unfocused        #282A36 #282A36 #BFBFBF #282A36   #282A36
client.urgent           #44475A #FF5555 #F8F8F2 #FF5555   #FF5555
client.placeholder      #282A36 #282A36 #F8F8F2 #282A36   #282A36

client.focused $accent $accent #ffffff $accent $accent
client.unfocused $gray $gray #ffffff $gray $gray
client.focused_inactive $gray $gray #ffffff $gray $gray
client.background       #F8F8F2

seat seat0 hide_cursor 5000

focus_on_window_activation urgent

input * {
    xkb_layout "us,ru"
    xkb_layout "us,de"
    # Programmer Dvorak
    xkb_variant "dvp,"
    xkb_options "grp:win_space_toggle,caps:escape"


@@ 48,17 48,20 @@ bar {


    colors {
        background #1F1F1F
        inactive_workspace $gray $gray #888888
        active_workspace $gray $gray #ffffff
        urgent_workspace $red $red #ffffff
        focused_workspace $accent $accent #ffffff
        urgent_workspace $red $red #ffffff
        background #282A36
        statusline #F8F8F2
        separator  #44475A

        focused_workspace  #44475A #44475A #F8F8F2
        active_workspace   #282A36 #44475A #F8F8F2
        inactive_workspace #282A36 #282A36 #BFBFBF
        urgent_workspace   #FF5555 #FF5555 #F8F8F2
        binding_mode       #FF5555 #FF5555 #F8F8F2
    }
}


output "*" bg ~/pictures/wallpapers/others/blue_moon.jpg fill
output "*" bg ~/pictures/wallpapers/artix/dracula.png fill

####################
### Key Bindings ###


@@ 71,11 74,11 @@ bindsym $mod+Return exec $term
bindsym $mod+comma exec $browser

# Start Programs
bindsym $mod+l exec $term profanity
bindsym $mod+a exec $term alsamixer
bindsym $mod+period exec $term aerc
bindsym $mod+b exec $term newsboat
bindsym $mod+s exec $term ncmpcpp
bindsym $mod+l exec $term -e profanity
bindsym $mod+a exec $term -e alsamixer
bindsym $mod+period exec $term -e aerc
bindsym $mod+b exec $term -e newsboat
bindsym $mod+s exec $term -e ncmpcpp
bindsym $mod+Shift+o exec grim # take a screenshot
bindsym $mod+Shift+y exec ~/.local/bin/bemenutranslate
bindsym $mod+Shift+q exec ~/.local/bin/dmenu-kill-process


@@ 95,6 98,9 @@ bindsym $mod+Shift+semicolon exit
# Start your launcher
bindsym $mod+e exec $menu

# Start dmconf
bindsym $mod+c exec dmconf

# Reload the configuration file
bindsym $mod+Ctrl+p reload