First commit

This commit is contained in:
2025-07-22 02:30:15 +02:00
commit e9441f563b
66 changed files with 4401 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
set $fg #c6d0f5
set $fgli #d4d8df
set $fglier #f6f7f9
set $bg #303446
set $bgli #323842
set $bgda #21252b
set $bgdaer #1e2227
set $black #51576d
set $red #e78284
set $green #e5c890
set $yellow #e5c890
set $blue #8caaee
set $purple #f4b8e4
set $cyan #81c8be
set $white #b5bfe2

View File

@@ -0,0 +1,136 @@
set $mod Mod4
# Reload Restart config | moved to rofi
#bindsym $mod+c reload
bindsym $mod+r restart
bindsym $mod+e exit
# Floating Modifier
floating_modifier $mod
# Kill focused window
bindsym $mod+q kill
# change focus
bindsym $mod+Up focus up
bindsym $mod+Down focus down
bindsym $mod+Left focus left
bindsym $mod+Right focus right
# Move Focused
bindsym $mod+Control+Up move up
bindsym $mod+Control+Down move down
bindsym $mod+Control+Left move left
bindsym $mod+Control+Right move right
bindsym $mod+o move container to output next
# Resizing window
bindsym $mod+Shift+Up resize grow height 10 px or 10 ppt
bindsym $mod+Shift+Down resize shrink height 10 px or 10 ppt
bindsym $mod+Shift+Left resize shrink width 10 px or 10 ppt
bindsym $mod+Shift+Right resize grow width 10 px or 10 ppt
# Workspace layout
bindsym $mod+space layout toggle splitv splith tabbed
# Fullscreen
bindsym $mod+f fullscreen toggle
# Flaoting
bindsym $mod+Shift+space floating toggle
# Splitting
bindsym $mod+v split vertical
bindsym $mod+h split horizontal
bindsym $mod+Control+space split toggle
# Volume control
bindsym F5 exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -5%
bindsym F6 exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +5%
##############
# Workspaces #
##############
include /etc/xdg/i3/screen
###########################
#Design
###########################
title_align center
default_border pixel 1
# Gaps
gaps inner 10px
smart_gaps off
gaps inner 5
#smart|ignore|leave_fullscreen
popup_during_fullscreen ignore
# Font
set $font ComicShannsMono Nerd Font Bold
font pango:$font 11
#colors
#include /etc/xdg/i3/colors
set $fg #c6d0f5
set $fgli #d4d8df
set $fglier #f6f7f9
set $bg #303446
set $bgli #323842
set $bgda #21252b
set $bgdaer #1e2227
set $black #51576d
set $red #e78284
set $green #e5c890
set $yellow #e5c890
set $blue #8caaee
set $purple #f4b8e4
set $cyan #81c8be
set $white #b5bfe2
# class border backgr. text indicator child_border
client.focused $blue $bg $blue $purple $blue
client.focused_inactive $bgda $bgli $fglier $bgda $bgda
client.unfocused $bgdaer $bg $fg $bgdaer $bgdaer
client.urgent $red $bg $fg $red $red
client.placeholder $bgdaer $bg $fg $bgdaer $bgdaer
client.background $bg
###########
# Startup #
###########
#exec_always --no-startup-id /usr/local/share/dotfiles/scripts/wallpapers.sh
exec_always --no-startup-id "killall picom ; picom"
exec_always --no-startup-id "killall dunst ; dunst"
exec_always --no-startup-id "flameshot"
#exec_always --no-startup-id "killall nextcloud ; nextcloud"
#################
# Apps shortcut #
#################
bindsym Print exec --no-startup-id flameshot gui
include /etc/xdg/i3/rofi
bindsym $mod+l exec --no-startup-id /usr/local/share/dotfiles/scripts/disconnect.sh
bindsym $mod+b exec --no-startup-id /usr/local/share/dotfiles/scripts/bookmarks.sh
bindsym $mod+m exec --no-startup-id /usr/local/share/dotfiles/scripts/mpv.sh
bindsym $mod+g exec --no-startup-id /usr/local/share/dotfiles/scripts/search.sh
bindsym $mod+c exec --no-startup-id rofi -show calc -theme disconnect.rasi
bindsym $mod+Shift+p exec --no-startup-id pavucontrol
bindsym $mod+Shift+d exec --no-startup-id discord --no-sandbox
bindsym $mod+Shift+f exec --no-startup-id firefox
bindsym $mod+Shift+s exec --no-startup-id steam
# Start a terminal
bindsym $mod+Return exec --no-startup-id kitty
# Display help
for_window [instance="cheatsheet"] floating enable
for_window [instance="vncviewer"] floating enable
bindsym $mod+s exec --no-startup-id kitty --class cheatsheet /usr/local/share/dotfiles/scripts/i3wm_key_help.sh

View File

@@ -0,0 +1,41 @@
set $monitor0 HDMI-0
set $monitor1 HDMI-1
set $ws1 "1"
set $ws2 "2"
set $ws3 "3"
set $ws4 "4"
set $ws5 "5"
set $ws6 "6"
set $ws7 "7"
set $ws8 "8"
workspace $ws1 output $monitor0
workspace $ws2 output $monitor0
workspace $ws3 output $monitor0
workspace $ws4 output $monitor0
workspace $ws5 output $monitor1
workspace $ws6 output $monitor1
workspace $ws7 output $monitor1
workspace $ws8 output $monitor1
bindsym $mod+mod2+KP_1 workspace $ws1
bindsym $mod+mod2+KP_2 workspace $ws2
bindsym $mod+mod2+KP_3 workspace $ws3
bindsym $mod+mod2+KP_4 workspace $ws4
bindsym $mod+mod2+KP_5 workspace $ws5
bindsym $mod+mod2+KP_6 workspace $ws6
bindsym $mod+mod2+KP_7 workspace $ws7
bindsym $mod+mod2+KP_8 workspace $ws8
bindsym $mod+Control+mod2+KP_1 move container to workspace $ws1
bindsym $mod+Control+mod2+KP_2 move container to workspace $ws2
bindsym $mod+Control+mod2+KP_3 move container to workspace $ws3
bindsym $mod+Control+mod2+KP_4 move container to workspace $ws4
bindsym $mod+Control+mod2+KP_5 move container to workspace $ws5
bindsym $mod+Control+mod2+KP_6 move container to workspace $ws6
bindsym $mod+Control+mod2+KP_7 move container to workspace $ws7
bindsym $mod+Control+mod2+KP_8 move container to workspace $ws8
exec --no-startup-id xrandr --output HDMI-1 --primary --right-of HDMI-0
exec_always --no-startup-id "kill $(pgrep polybar) ; polybar main & polybar alt"

View File

@@ -0,0 +1,40 @@
set $monitor0 Virtual-1
set $ws1 "1"
set $ws2 "2"
set $ws3 "3"
set $ws4 "4"
set $ws5 "5"
set $ws6 "6"
set $ws7 "7"
set $ws8 "8"
workspace $ws1 output $monitor0
workspace $ws2 output $monitor0
workspace $ws3 output $monitor0
workspace $ws4 output $monitor0
workspace $ws5 output $monitor0
workspace $ws6 output $monitor0
workspace $ws7 output $monitor0
workspace $ws8 output $monitor0
bindsym $mod+mod2+KP_1 workspace $ws1
bindsym $mod+mod2+KP_2 workspace $ws2
bindsym $mod+mod2+KP_3 workspace $ws3
bindsym $mod+mod2+KP_4 workspace $ws4
bindsym $mod+mod2+KP_5 workspace $ws5
bindsym $mod+mod2+KP_6 workspace $ws6
bindsym $mod+mod2+KP_7 workspace $ws7
bindsym $mod+mod2+KP_8 workspace $ws8
bindsym $mod+Control+mod2+KP_1 move container to workspace $ws1
bindsym $mod+Control+mod2+KP_2 move container to workspace $ws2
bindsym $mod+Control+mod2+KP_3 move container to workspace $ws3
bindsym $mod+Control+mod2+KP_4 move container to workspace $ws4
bindsym $mod+Control+mod2+KP_5 move container to workspace $ws5
bindsym $mod+Control+mod2+KP_6 move container to workspace $ws6
bindsym $mod+Control+mod2+KP_7 move container to workspace $ws7
bindsym $mod+Control+mod2+KP_8 move container to workspace $ws8
exec --no-startup-id xrandr --output Virtual-1 --primary --mode 1920x1080
exec_always --no-startup-id "killall polybar ; polybar main"