Update config files
This commit is contained in:
parent
008a765e32
commit
7ab6ef170d
13 changed files with 280 additions and 102 deletions
|
@ -28,7 +28,7 @@ exec --no-startup-id dex --autostart --environment i3
|
|||
|
||||
# xss-lock grabs a logind suspend inhibit lock and will use i3lock to lock the
|
||||
# screen before suspend. Use loginctl lock-session to lock your screen.
|
||||
exec --no-startup-id xss-lock --transfer-sleep-lock -- i3lock --nofork
|
||||
exec --no-startup-id xss-lock --transfer-sleep-lock -- i3lock-fancy --nofork
|
||||
|
||||
# NetworkManager is the most popular way to manage wireless networks on Linux,
|
||||
# and nm-applet is a desktop environment-independent system tray GUI for it.
|
||||
|
@ -38,29 +38,41 @@ exec_always --no-startup-id picom
|
|||
exec_always --no-startup-id nitrogen --restore
|
||||
exec_always --no-startup-id dunst
|
||||
exec_always --no-startup-id xborders --disable-version-warning --border-red 79 --border-green 190 --border-blue 217 --border-radius 15
|
||||
exec_always --no-startup-id nextcloud --background
|
||||
exec --no-startup-id polybar -r
|
||||
exec --no-startup-id "sh /home/vylpes/.screenlayout/default.sh"
|
||||
|
||||
# Use pactl to adjust volume in PulseAudio.
|
||||
# Add "&& $refresh_i3status" if needed
|
||||
set $refresh_i3status killall -SIGUSR1 polybar
|
||||
bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +10%
|
||||
bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -10%
|
||||
bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +5%
|
||||
bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -5%
|
||||
bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle
|
||||
bindsym XF86AudioMicMute exec --no-startup-id pactl set-source-mute @DEFAULT_SOURCE@ toggle
|
||||
|
||||
# Use playerctl to control playback
|
||||
bindsym XF86AudioPlay exec playerctl play-pause
|
||||
bindsym XF86AudioPause exec playerctl play-pause
|
||||
bindsym XF86AudioNext exec playerctl next
|
||||
bindsym XF86AudioPrev exec playerctl previous
|
||||
|
||||
# Use brightnessctl to adjust brightness
|
||||
bindsym XF86MonBrightnessUp exec brightnessctl set 10%+
|
||||
bindsym XF86MonBrightnessDown exec brightnessctl set 10%-
|
||||
|
||||
# Use Mouse+$mod to drag floating windows to their wanted position
|
||||
floating_modifier $mod
|
||||
|
||||
# Custom keybinds
|
||||
bindsym $mod+s exec --no-startup-id flameshot gui -p ~/Pictures/captures --clipboard
|
||||
bindsym $mod+f exec --no-startup-id firefox
|
||||
bindsym $mod+u exec --no-startup-id autorandr -c
|
||||
bindsym $mod+Shift+f exec --no-startup-id firefox --private-window
|
||||
bindsym $mod+Shift+z exec --no-startup-id i3lock-fancy -g -t "System Locked" -f Hack-Regular
|
||||
# =====
|
||||
|
||||
# start a terminal
|
||||
bindsym $mod+a exec i3-sensible-terminal
|
||||
bindsym $mod+a exec alacritty
|
||||
|
||||
# kill focused window
|
||||
bindsym $mod+Shift+c kill
|
||||
|
@ -182,7 +194,7 @@ bindsym $mod+Mod1+r reload
|
|||
# restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
|
||||
bindsym $mod+Shift+r restart
|
||||
# exit i3 (logs you out of your X session)
|
||||
bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -B 'Yes, exit i3' 'i3-msg exit'"
|
||||
bindsym $mod+Shift+e exec "bash /home/vylpes/.cache/scripts/power.sh"
|
||||
|
||||
# resize window (you can also use the mouse for that)
|
||||
mode "resize" {
|
||||
|
@ -211,18 +223,22 @@ mode "resize" {
|
|||
|
||||
bindsym $mod+r mode "resize"
|
||||
|
||||
# Windows to force floating
|
||||
for_window [class="Plexamp"] floating enable
|
||||
|
||||
# Start i3bar to display a workspace bar (plus the system information i3status
|
||||
# finds out, if available)
|
||||
|
||||
# Gaps
|
||||
gaps inner 10
|
||||
gaps outer 10
|
||||
gaps horizontal 10
|
||||
gaps vertical 10
|
||||
gaps top 10
|
||||
gaps right 10
|
||||
gaps bottom 10
|
||||
gaps left 10
|
||||
gaps inner 5
|
||||
gaps outer -5
|
||||
gaps horizontal 5
|
||||
gaps vertical 5
|
||||
gaps top 5
|
||||
gaps right 5
|
||||
gaps bottom 5
|
||||
gaps left 5
|
||||
|
||||
default_border pixel 1
|
||||
client.focused #555555 #555555 #ffffff #2e9ef4 #63C5DA
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue