Add dotfiles

This commit is contained in:
2024-02-28 01:37:11 +01:00
commit aa37de5f47
58 changed files with 3361 additions and 0 deletions

38
.config/i3/config Normal file
View File

@@ -0,0 +1,38 @@
set $mod Mod4
# exec_always "setxkbmap -layout de"
exec_always "setxkbmap -layout de -variant nodeadkeys"
include ~/.config/i3/config.d/*
bindsym $mod+d exec --no-startup-id rofi -show run -config ~/.config/rofi/config.rasi
bindsym $mod+Return exec kitty
bindsym $mod+Shift+q kill
bindsym $mod+Shift+c reload
bindsym $mod+Shift+r restart
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'"
mode "exit: [l]ogout, [r]eboot, [s]hutdown" {
bindsym l exec i3-msg exit
bindsym r exec systemctl reboot
bindsym s exec systemctl shutdown
bindsym Escape mode "default"
bindsym Return mode "default"
}
bindsym $mod+x mode "exit: [l]ogout, [r]eboot, [s]hutdown"
bindsym $mod+Shift+x exec i3lock
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 playerctl play-pause
bindsym XF86AudioPause exec playerctl play-pause
bindsym XF86AudioNext exec playerctl next
bindsym XF86AudioPrev exec playerctl previous
bindsym XF86MonBrightnessUp exec --no-startup-id brightnessctl set +5%
bindsym XF86MonBrightnessDown exec --no-startup-id brightnessctl set 5%-

View File

@@ -0,0 +1,5 @@
exec --no-startup-id dex --autostart --environment i3
exec --no-startup-id xss-lock --transfer-sleep-lock -- i3lock --nofork
exec --no-startup-id nm-applet &
exec --no-startup-id blueman-applet &

View File

@@ -0,0 +1,10 @@
#gruvbox
# class border backgr. text indicator child_border
client.focused #d65d0e #d65d0e #1a1826 #d65d0e #d65d0e
client.focused_inactive #ebdbb2 #5f676a #ffffff #ebdbb2 #ebdbb2
client.unfocused #333333 #222222 #888888 #292d2e #222222
client.urgent #cc241d #900000 #ffffff #cc241d #cc241d
client.placeholder #000000 #0c0c0c #ffffff #000000 #0c0c0c
client.background #ffffff

View File

View File

@@ -0,0 +1,54 @@
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

View File

@@ -0,0 +1,13 @@
exec_always --no-startup-id feh --bg-scale /usr/share/wallpapers/ColdRipple/contents/images/1920x1080.jpg
exec_always --no-startup-id "picom --config ~/.config/picom/picom.conf"
exec_always --no-startup-id ~/.config/polybar/launch.sh &
for_window [class="^.*"] border pixel 3
default_floating_border none
default_floating_border normal 0
hide_edge_borders smart
gaps inner 8
smart_gaps on

View File

@@ -0,0 +1,38 @@
set $ws1 "1: Terminal"
set $ws2 "2: Firefox"
set $ws3 "3: Music"
set $ws4 "4"
set $ws5 "5"
set $ws6 "6"
set $ws7 "7"
set $ws8 "8"
set $ws9 "9"
set $ws10 "10"
bindsym $mod+1 workspace number $ws1
bindsym $mod+2 workspace number $ws2
bindsym $mod+3 workspace number $ws3
bindsym $mod+4 workspace number $ws4
bindsym $mod+5 workspace number $ws5
bindsym $mod+6 workspace number $ws6
bindsym $mod+7 workspace number $ws7
bindsym $mod+8 workspace number $ws8
bindsym $mod+9 workspace number $ws9
bindsym $mod+0 workspace number $ws10
bindsym $mod+Shift+1 move container to workspace number $ws1
bindsym $mod+Shift+2 move container to workspace number $ws2
bindsym $mod+Shift+3 move container to workspace number $ws3
bindsym $mod+Shift+4 move container to workspace number $ws4
bindsym $mod+Shift+5 move container to workspace number $ws5
bindsym $mod+Shift+6 move container to workspace number $ws6
bindsym $mod+Shift+7 move container to workspace number $ws7
bindsym $mod+Shift+8 move container to workspace number $ws8
bindsym $mod+Shift+9 move container to workspace number $ws9
bindsym $mod+Shift+0 move container to workspace number $ws10
assign [class="firefox"] $ws2
assign [class="Spotify"] $ws3
exec --no-startup-id firefox
exec --no-startup-id i3-msg 'workspace $ws1; exec kitty; $ws1'