more config files
This commit is contained in:
parent
1b28ec5ec1
commit
1a25393183
22 changed files with 3628 additions and 1 deletions
216
private_dot_config/sway/config
Normal file
216
private_dot_config/sway/config
Normal file
|
@ -0,0 +1,216 @@
|
|||
set $mod Mod4
|
||||
set $alt Mod1
|
||||
set $left h
|
||||
set $down j
|
||||
set $up k
|
||||
set $right l
|
||||
|
||||
set $term $HOME/.config/sway/scripts/terminal.sh
|
||||
set $menu rofi -show drun | xargs swaymsg exec --
|
||||
set $screenshot grim -g "$(slurp)" - | wl-copy
|
||||
set $browser librewolf
|
||||
set $clipboard rofi -show clipboard -show-icons
|
||||
set $emoji rofimoji
|
||||
set $calc rofi -show calc -no-show-match -no-sort
|
||||
set $youtube $HOME/.config/sway/scripts/youtube.sh
|
||||
set $music chromium --profile-directory=Default --app-id=cinhimbnkkaeohfgghhklpknlkffjgod
|
||||
set $rss chromium --profile-directory=Default --app-id=ghncceofpdlcdigkealkgbemafcmicmh
|
||||
|
||||
set $font_family DejaVu Sans Mono
|
||||
set $font_size 11
|
||||
set $bg #000000
|
||||
set $bga #444444
|
||||
set $fg #ffffff
|
||||
set $fgi #888888
|
||||
set $fgu #555555
|
||||
set $btf #000000
|
||||
|
||||
set $wallpaper /home/yt/Pictures/nasamute.png
|
||||
set $lock swaylock -i $wallpaper
|
||||
output * bg $wallpaper fill
|
||||
|
||||
floating_modifier $mod normal
|
||||
default_border pixel
|
||||
smart_borders on
|
||||
focus_follows_mouse no
|
||||
|
||||
bindsym $mod+Return exec $term
|
||||
bindsym $mod+Control+q kill
|
||||
bindsym $mod+d exec $menu
|
||||
bindsym $mod+Shift+c reload
|
||||
bindsym $mod+Shift+e exec swaynag -t warning -m 'You pressed the exit shortcut. Do you really want to exit sway? This will end your Wayland session.' -B 'Yes, exit sway' 'swaymsg exit'
|
||||
bindsym Print exec $screenshot
|
||||
bindsym $mod+c exec $clipboard
|
||||
bindsym $mod+period exec $emoji
|
||||
bindsym $mod+comma exec $calc
|
||||
|
||||
bindsym $mod+$alt+b exec $browser
|
||||
bindsym $mod+$alt+a exec anki
|
||||
bindsym $mod+$alt+f exec dolphin
|
||||
bindsym $mod+$alt+p exec pomatez
|
||||
bindsym $mod+$alt+y exec $youtube
|
||||
bindsym $mod+$alt+m exec $music
|
||||
bindsym $mod+$alt+r exec $rss
|
||||
bindsym $mod+$alt+e exec kmail
|
||||
|
||||
bindsym $mod+$left focus left
|
||||
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
|
||||
bindsym $mod+4 workspace number 4
|
||||
bindsym $mod+5 workspace number 5
|
||||
bindsym $mod+6 workspace number 6
|
||||
bindsym $mod+7 workspace number 7
|
||||
bindsym $mod+8 workspace number 8
|
||||
bindsym $mod+9 workspace number 9
|
||||
bindsym $mod+0 workspace number 10
|
||||
|
||||
bindsym $mod+Shift+1 move container to workspace number 1
|
||||
bindsym $mod+Shift+2 move container to workspace number 2
|
||||
bindsym $mod+Shift+3 move container to workspace number 3
|
||||
bindsym $mod+Shift+4 move container to workspace number 4
|
||||
bindsym $mod+Shift+5 move container to workspace number 5
|
||||
bindsym $mod+Shift+6 move container to workspace number 6
|
||||
bindsym $mod+Shift+7 move container to workspace number 7
|
||||
bindsym $mod+Shift+8 move container to workspace number 8
|
||||
bindsym $mod+Shift+9 move container to workspace number 9
|
||||
bindsym $mod+Shift+0 move container to workspace number 10
|
||||
|
||||
# bindsym --whole-window BTN_EXTRA focus left
|
||||
# bindsym --whole-window BTN_SIDE focus right
|
||||
|
||||
bindsym $mod+b splith
|
||||
bindsym $mod+v splitv
|
||||
|
||||
bindsym $mod+s layout stacking
|
||||
bindsym $mod+w layout tabbed
|
||||
bindsym $mod+e layout toggle split
|
||||
|
||||
bindsym $mod+f fullscreen
|
||||
|
||||
bindsym $mod+Shift+space floating toggle
|
||||
|
||||
bindsym $mod+space focus mode_toggle
|
||||
|
||||
bindsym $mod+a focus parent
|
||||
bindsym $mod+Shift+a focus child
|
||||
|
||||
bindsym $mod+Shift+minus move scratchpad
|
||||
bindsym $mod+minus scratchpad show
|
||||
|
||||
mode "resize" {
|
||||
bindsym $left resize shrink width 10px
|
||||
bindsym $down resize grow height 10px
|
||||
bindsym $up resize shrink height 10px
|
||||
bindsym $right resize grow width 10px
|
||||
bindsym Return mode "default"
|
||||
bindsym Escape mode "default"
|
||||
}
|
||||
bindsym $mod+r mode "resize"
|
||||
|
||||
# keys to adjust volue and brightness
|
||||
bindsym --locked XF86AudioMute exec "amixer -q sset Master,0 toggle"
|
||||
bindsym --locked XF86AudioLowerVolume exec "amixer -q set Master 1%-"
|
||||
bindsym --locked XF86AudioRaiseVolume exec "amixer -q sset Master 1%+"
|
||||
bindsym --locked XF86MonBrightnessDown exec brightnessctl set 1%-
|
||||
bindsym --locked XF86MonBrightnessUp exec brightnessctl set 1%+
|
||||
|
||||
# lockscreen
|
||||
# (sleep before entering idle state to let the user lift keys)
|
||||
#bindsym --locked $mod+l exec "sleep 1; pkill -USR1 swayidle"
|
||||
bindsym $mod+Control+l exec "$lock -f; sleep 1; pkill -USR1 swayidle"
|
||||
|
||||
bindsym --inhibited $mod+Escape seat - pointer_constraint escape, seat - shortcuts_inhibitor disable
|
||||
|
||||
bindsym $mod+n mode notifications
|
||||
mode notifications {
|
||||
bindsym Escape mode default
|
||||
bindsym Return exec makoctl invoke; exec makoctl dismiss; mode default
|
||||
bindsym d exec makoctl dismiss; mode default
|
||||
bindsym Shift+d exec makoctl dismiss -a; mode default
|
||||
}
|
||||
|
||||
font pango:$font_family $font_size
|
||||
# class border bg text indicator child_border
|
||||
#client.focused $bg $bg $fg $bga #285577
|
||||
#client.focused_inactive $bg $bg $fgi $bg #5f676a
|
||||
#client.unfocused $bg $bg $fgu $bg #222222
|
||||
|
||||
for_window [app_id="^menu$"] floating enable, border none
|
||||
for_window [app_id=mpv] floating enable, sticky enable
|
||||
for_window [class="pomatez"] floating enable, sticky enable
|
||||
|
||||
bar {
|
||||
status_command i3status-rs
|
||||
position top
|
||||
font pango:$font_family, FontAwesome $font_size
|
||||
separator_symbol ""
|
||||
colors {
|
||||
statusline $fg
|
||||
background $bg
|
||||
focused_background $bg
|
||||
focused_workspace $bg $bg $fg
|
||||
active_workspace $bg $bg $fg
|
||||
inactive_workspace $bg $bg $fgi
|
||||
}
|
||||
# tray_output none
|
||||
}
|
||||
|
||||
input "type:touchpad" {
|
||||
dwt enabled
|
||||
tap enabled
|
||||
natural_scroll enabled
|
||||
}
|
||||
|
||||
input "type:keyboard" {
|
||||
xkb_layout us
|
||||
xkb_options ctrl:nocaps
|
||||
xkb_numlock disabled
|
||||
}
|
||||
|
||||
exec wl-paste --watch cliphist store
|
||||
exec mako > /tmp/mako.log 2>&1
|
||||
exec /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
|
||||
exec swayidle -w \
|
||||
timeout 30 'pgrep swaylock && swaymsg "output * dpms off"' \
|
||||
resume 'swaymsg "output * dpms on"' \
|
||||
before-sleep '$lock -f'
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# 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 %X'; do sleep 1; done
|
||||
|
||||
# colors {
|
||||
# statusline #ffffff
|
||||
# background #323232
|
||||
# inactive_workspace #32323200 #32323200 #5c5c5c
|
||||
# }
|
||||
# }
|
||||
#bar swaybar_command waybar
|
||||
|
||||
|
||||
|
||||
#exec_always nm-applet --indicator
|
||||
exec dbus-update-activation-environment --all
|
||||
exec sway-audio-idle-inhibit
|
||||
|
||||
include /etc/sway/config.d/*
|
||||
|
||||
exec system-dnotify --ready
|
Loading…
Add table
Add a link
Reference in a new issue