Remove i3 config; Create sway config
@ -1,28 +0,0 @@
|
||||
set $mod Mod4
|
||||
exec --no-startup-id autorandr --change
|
||||
exec_always --no-startup-id "setxkbmap -layout 'de,gr,de' -variant 'nodeadkeys,basic,neo' -option caps:escape"
|
||||
exec --no-startup-id xautolock -time 15 -locker "betterlockscreen -l" &
|
||||
|
||||
include ~/.config/i3/config.d/*
|
||||
|
||||
bindsym $mod+d exec --no-startup-id rofi -show run -config ~/.config/rofi/config.rasi
|
||||
bindsym $mod+Return exec --no-startup-id kitty
|
||||
bindsym $mod+Shift+q kill
|
||||
|
||||
bindsym $mod+Shift+r restart
|
||||
bindsym $mod+Shift+e exec --no-startup-id i3-msg exit
|
||||
bindsym Control+Mod1+l exec --no-startup-id betterlockscreen -l
|
||||
|
||||
bindsym XF86AudioRaiseVolume exec --no-startup-id pulsemixer --change-volume +5 --max-volume 100 #increase sound volume
|
||||
bindsym XF86AudioLowerVolume exec --no-startup-id pulsemixer --change-volume -5 --max-volume 100 #decrease sound volume
|
||||
bindsym Shift+XF86AudioRaiseVolume exec --no-startup-id pulsemixer --change-volume +5 --max-volume 300 #increase sound volume
|
||||
bindsym Shift+XF86AudioLowerVolume exec --no-startup-id pulsemixer --change-volume -5 --max-volume 300 #decrease sound volume
|
||||
bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle # mute sound
|
||||
|
||||
bindsym XF86AudioPlay exec --no-startup-id playerctl play-pause
|
||||
bindsym XF86AudioPause exec --no-startup-id playerctl play-pause
|
||||
bindsym XF86AudioNext exec --no-startup-id playerctl next
|
||||
bindsym XF86AudioPrev exec --no-startup-id playerctl previous
|
||||
|
||||
bindsym XF86MonBrightnessUp exec --no-startup-id brightnessctl set +5%
|
||||
bindsym XF86MonBrightnessDown exec --no-startup-id brightnessctl set 5%-
|
||||
@ -1,5 +0,0 @@
|
||||
exec --no-startup-id dex --autostart --environment i3
|
||||
exec --no-startup-id xss-lock --transfer-sleep-lock -- i3lock --nofork
|
||||
exec_always --no-startup-id nm-applet &
|
||||
exec_always --no-startup-id blueman-applet &
|
||||
|
||||
@ -1,54 +0,0 @@
|
||||
bindsym $mod+h focus left
|
||||
bindsym $mod+j focus down
|
||||
bindsym $mod+k focus up
|
||||
bindsym $mod+l focus right
|
||||
|
||||
bindsym $mod+Left focus left
|
||||
bindsym $mod+Down focus down
|
||||
bindsym $mod+Up focus up
|
||||
bindsym $mod+Right focus right
|
||||
|
||||
bindsym $mod+Shift+h move left
|
||||
bindsym $mod+Shift+j move down
|
||||
bindsym $mod+Shift+k move up
|
||||
bindsym $mod+Shift+l move 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+p split h
|
||||
bindsym $mod+v split v
|
||||
|
||||
bindsym $mod+f fullscreen toggle
|
||||
|
||||
mode "resize" {
|
||||
bindsym h resize shrink width 10 px or 10 ppt
|
||||
bindsym j resize grow height 10 px or 10 ppt
|
||||
bindsym k resize shrink height 10 px or 10 ppt
|
||||
bindsym l resize grow width 10 px or 10 ppt
|
||||
|
||||
bindsym Left resize shrink width 10 px or 10 ppt
|
||||
bindsym Down resize grow height 10 px or 10 ppt
|
||||
bindsym Up resize shrink height 10 px or 10 ppt
|
||||
bindsym Right resize grow width 10 px or 10 ppt
|
||||
|
||||
bindsym Return mode "default"
|
||||
bindsym Escape mode "default"
|
||||
bindsym $mod+r mode "default"
|
||||
}
|
||||
|
||||
bindsym $mod+r mode "resize"
|
||||
|
||||
bindsym $mod+s layout stacking
|
||||
bindsym $mod+w layout tabbed
|
||||
bindsym $mod+e layout toggle split
|
||||
|
||||
bindsym $mod+Shift+space floating toggle
|
||||
bindsym $mod+space focus mode_toggle
|
||||
|
||||
bindsym $mod+a focus parent
|
||||
#bindsym $mod+d focus child
|
||||
|
||||
floating_modifier $mod
|
||||
85
.config/sway/config
Normal file
@ -0,0 +1,85 @@
|
||||
set $mod Mod4
|
||||
set $term kitty
|
||||
# set $menu dmenu_path | wofi --show=run --matching fuzzy | xargs swaymsg exec --
|
||||
set $menu dmenu_path | wofi --show=run --matching | xargs swaymsg exec --
|
||||
|
||||
#xwayland disable
|
||||
|
||||
output * bg ~/.config/sway/wallpapers/mountains.jpg fill
|
||||
|
||||
output eDP-1 scale 1.4
|
||||
|
||||
### Idle configuration
|
||||
#
|
||||
# Example configuration:
|
||||
#
|
||||
# exec swayidle -w \
|
||||
# timeout 300 'swaylock -f -c 000000' \
|
||||
# timeout 600 'swaymsg "output * power off"' resume 'swaymsg "output * power on"' \
|
||||
# before-sleep 'swaylock -f -c 000000'
|
||||
#
|
||||
# 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.
|
||||
|
||||
bindsym $mod+p exec kitty -e python
|
||||
|
||||
bindsym $mod+Return exec $term
|
||||
bindsym $mod+Shift+q kill
|
||||
bindsym $mod+d exec $menu
|
||||
|
||||
floating_modifier $mod normal
|
||||
|
||||
bindsym $mod+Shift+c reload
|
||||
bindsym $mod+Shift+e exec --no-startup-id i3-msg exit
|
||||
|
||||
#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
|
||||
position top
|
||||
}
|
||||
|
||||
bindsym XF86AudioRaiseVolume exec --no-startup-id pulsemixer --change-volume +5 --max-volume 100 #increase sound volume
|
||||
bindsym XF86AudioLowerVolume exec --no-startup-id pulsemixer --change-volume -5 --max-volume 100 #decrease sound volume
|
||||
bindsym Shift+XF86AudioRaiseVolume exec --no-startup-id pulsemixer --change-volume +5 --max-volume 300 #increase sound volume
|
||||
bindsym Shift+XF86AudioLowerVolume exec --no-startup-id pulsemixer --change-volume -5 --max-volume 300 #decrease sound volume
|
||||
bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle # mute sound
|
||||
|
||||
bindsym XF86AudioPlay exec --no-startup-id playerctl play-pause
|
||||
bindsym XF86AudioPause exec --no-startup-id playerctl play-pause
|
||||
bindsym XF86AudioNext exec --no-startup-id playerctl next
|
||||
bindsym XF86AudioPrev exec --no-startup-id playerctl previous
|
||||
|
||||
bindsym XF86MonBrightnessUp exec --no-startup-id brightnessctl set +5%
|
||||
bindsym XF86MonBrightnessDown exec --no-startup-id brightnessctl set 5%-
|
||||
|
||||
include ~/.config/sway/config.d/*
|
||||
|
||||
bindsym $mod+c exec --no-startup-id kitty -e python
|
||||
|
||||
for_window [title="blueman-manager"] floating enable
|
||||
|
||||
for_window [class="^.*"] border pixel 3
|
||||
default_floating_border none
|
||||
default_floating_border normal 0
|
||||
hide_edge_borders smart
|
||||
|
||||
gaps inner 20
|
||||
smart_gaps on
|
||||
|
||||
blur enable
|
||||
blur_radius 8
|
||||
|
||||
exec --no-startup-id dbus-update-activation-environment DISPLAY
|
||||
2
.config/sway/config.d/autostart.conf
Normal file
@ -0,0 +1,2 @@
|
||||
exec_always --no-startup-id nm-applet &
|
||||
exec_always --no-startup-id blueman-applet &
|
||||
0
.config/i3/config.d/gruvbox.conf → .config/sway/config.d/gruvbox.conf
Executable file → Normal file
14
.config/sway/config.d/input.conf
Normal file
@ -0,0 +1,14 @@
|
||||
input "type:touchpad" {
|
||||
left_handed enabled
|
||||
tap enabled
|
||||
natural_scroll enabled
|
||||
scroll_factor 0.4
|
||||
dwt disable
|
||||
accel_profile "adaptive" # disable mouse acceleration (enabled by default; to set it manually, use "adaptive" instead of "flat")
|
||||
pointer_accel 0 # set mouse sensitivity (between -1 and 1)
|
||||
}
|
||||
|
||||
input * {
|
||||
xkb_layout "de"
|
||||
xkb_variant "nodeadkeys"
|
||||
}
|
||||
58
.config/sway/config.d/navigation.conf
Normal file
@ -0,0 +1,58 @@
|
||||
set $left h
|
||||
set $down j
|
||||
set $up k
|
||||
set $right l
|
||||
|
||||
bindsym $mod+$left focus left
|
||||
bindsym $mod+$down focus down
|
||||
bindsym $mod+$up focus up
|
||||
bindsym $mod+$right focus right
|
||||
|
||||
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+Shift+Left move left
|
||||
bindsym $mod+Shift+Down move down
|
||||
bindsym $mod+Shift+Up move up
|
||||
bindsym $mod+Shift+Right move 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
|
||||
|
||||
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 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"
|
||||
|
||||
bindsym $mod+Shift+minus move scratchpad
|
||||
bindsym $mod+minus scratchpad show
|
||||
@ -1,10 +1,8 @@
|
||||
# Workspaces
|
||||
|
||||
set $ws1 "1: Dev"
|
||||
set $ws2 "2: Firefox"
|
||||
set $ws3 "3: Management"
|
||||
set $ws4 "4"
|
||||
set $ws5 "5"
|
||||
set $ws5 "5: Doc"
|
||||
set $ws6 "6"
|
||||
set $ws7 "7: Music"
|
||||
set $ws8 "8"
|
||||
@ -36,36 +34,18 @@ bindsym $mod+Shift+0 move container to workspace number $ws10
|
||||
# assign [class="firefox"] $ws2
|
||||
assign [class="Spotify"] $ws7
|
||||
|
||||
exec --no-startup-id i3-msg 'workspace $ws2; exec firefox'
|
||||
exec --no-startup-id i3-msg 'workspace $ws1; exec kitty; $ws1'
|
||||
exec --no-startup-id i3-msg 'workspace $ws2; exec firefox'
|
||||
|
||||
# Multiple monitors
|
||||
#
|
||||
## Multiple monitors
|
||||
#
|
||||
#workspace $ws1 output DP1-3 eDP1
|
||||
#workspace $ws2 output eDP1 DP1-3
|
||||
#workspace $ws3 output eDP1 DP1-3
|
||||
#workspace $ws4 output DP1-3 eDP1
|
||||
#workspace $ws5 output eDP1
|
||||
#workspace $ws6 output eDP1
|
||||
#workspace $ws7 output eDP1
|
||||
#workspace $ws8 output eDP1
|
||||
|
||||
workspace $ws1 output DP1-3 eDP1
|
||||
workspace $ws2 output eDP1 DP1-3
|
||||
workspace $ws3 output eDP1 DP1-3
|
||||
workspace $ws4 output DP1-3 eDP1
|
||||
workspace $ws5 output eDP1
|
||||
workspace $ws6 output eDP1
|
||||
workspace $ws7 output eDP1
|
||||
workspace $ws8 output eDP1
|
||||
|
||||
# exec_always --no-startup-id xrandr --output eDP-1 --primary --mode 1920x1080 --pos 1920x903 --rotate normal --output DP-1-3 --mode 1920x1200 --pos 0x0 --rotate normal
|
||||
# bindsym $mod+m exec --no-startup-id xrandr --output eDP-1 --primary --mode 1920x1080 --pos 1920x903 --rotate normal --output DP-1-3 --mode 1920x1200 --pos 0x0 --rotate normal
|
||||
# # bindsym $mod+m exec --no-startup-id xrandr --output HDMI2 --auto --right-of eDP1
|
||||
|
||||
|
||||
# Normal stuff
|
||||
|
||||
exec_always --no-startup-id "picom --config ~/.config/picom/picom.conf"
|
||||
exec_always --no-startup-id ~/.config/polybar/launch.sh &
|
||||
|
||||
exec_always --no-startup-id feh --bg-scale ~/.config/i3/wallpapers/mountains.jpg
|
||||
|
||||
for_window [class="^.*"] border pixel 3
|
||||
default_floating_border none
|
||||
default_floating_border normal 0
|
||||
hide_edge_borders smart
|
||||
|
||||
gaps inner 20
|
||||
smart_gaps on
|
||||
|
Before Width: | Height: | Size: 20 KiB After Width: | Height: | Size: 20 KiB |
|
Before Width: | Height: | Size: 20 KiB After Width: | Height: | Size: 20 KiB |
|
Before Width: | Height: | Size: 514 KiB After Width: | Height: | Size: 514 KiB |
|
Before Width: | Height: | Size: 88 KiB After Width: | Height: | Size: 88 KiB |
|
Before Width: | Height: | Size: 3.4 MiB After Width: | Height: | Size: 3.4 MiB |
|
Before Width: | Height: | Size: 779 KiB After Width: | Height: | Size: 779 KiB |