Rename folder
This commit is contained in:
166
laptop/.config/i3/config
Normal file
166
laptop/.config/i3/config
Normal file
@@ -0,0 +1,166 @@
|
||||
# ▄▄ ▄▄ ▄▄▄▄▄▄ ▄▄▄▄▄▄ ▄▄▄▄▄▄▄ ▄▄ ▄▄▄▄▄▄▄ ▄▄▄ ▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄ ▄▄ ▄ ▄▄▄▄▄▄▄ ▄▄▄ ▄▄▄▄▄▄▄
|
||||
# █ █▄█ █ █ ▄ █ █ █ ██ █ █ █ █ █ █ █ █ █ █ █ █ █
|
||||
# █ █ ▄ █ █ █ █ █ █▄▄██ ▄▄▄▄▄█ █ █▄▄▄ █ █ █ ▄ █ █▄█ █ ▄▄▄█ █ ▄▄▄▄█
|
||||
# █ █ █▄█ █ █▄▄█▄█ ▄▄█ █ █▄▄▄▄▄ █ █▄▄▄█ █ █ ▄▄█ █ █ █ █ █▄▄▄█ █ █ ▄▄
|
||||
# █ █ █ ▄▄ █ █ █▄▄▄▄▄ █ █ █▄▄▄ █ █ █ █ █▄█ █ ▄ █ ▄▄▄█ █ █ █ █
|
||||
# █ ██▄██ █ ▄ █ █ █ █ █▄▄ ▄▄▄▄▄█ █ █ █▄▄▄█ █ █ █▄▄█ █ █ █ █ █ █ █ █▄▄█ █
|
||||
# █▄█ █▄█▄█ █▄▄█▄▄▄█ █▄█▄▄▄▄▄▄▄█ █▄▄▄▄▄▄▄█ █▄▄▄█▄▄▄▄▄▄▄█ █▄▄▄▄▄▄▄█▄▄▄▄▄▄▄█▄█ █▄▄█▄▄▄█ █▄▄▄█▄▄▄▄▄▄▄█
|
||||
|
||||
# Set Mod Keys
|
||||
set $mod Mod4
|
||||
floating_modifier $mod
|
||||
|
||||
# Font for Window Titles
|
||||
font pango:FiraCode Nerd Font Mono 8
|
||||
|
||||
# ============================== Keybinds (except workspaces)
|
||||
#Terminal
|
||||
bindsym $mod+Return exec --no-startup-id alacritty
|
||||
bindsym $mod+Ctrl+Return exec --no-startup-id xterm
|
||||
|
||||
# Leaving
|
||||
bindsym $mod+Shift+BackSpace exec "~/scripts/lock-laptop.sh"
|
||||
bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'Logout?' -B 'Yes!' 'i3-msg exit'"
|
||||
|
||||
# Config refresh
|
||||
bindsym $mod+Shift+c reload
|
||||
bindsym $mod+Shift+r restart
|
||||
|
||||
# Windows
|
||||
bindsym $mod+h focus left
|
||||
bindsym $mod+j focus down
|
||||
bindsym $mod+k focus up
|
||||
bindsym $mod+l 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+Ctrl+l resize grow width 10 px
|
||||
bindsym $mod+Ctrl+h resize shrink width 10 px
|
||||
bindsym $mod+Ctrl+j resize shrink height 10 px
|
||||
bindsym $mod+Ctrl+k resize grow height 10 px
|
||||
|
||||
bindsym $mod+Shift+q kill
|
||||
|
||||
bindsym $mod+f fullscreen toggle
|
||||
bindsym $mod+Shift+space floating toggle
|
||||
|
||||
bindsym $mod+s layout toggle stacking splith
|
||||
|
||||
# Create splits just like in vim
|
||||
bindsym $mod+Shift+s split v
|
||||
bindsym $mod+Shift+v split h
|
||||
|
||||
bindsym $mod+n workspace next
|
||||
bindsym $mod+p workspace prev
|
||||
|
||||
# Rofi and dmenu
|
||||
bindsym $mod+d exec "~/.config/rofi/launchers-git/launcher.sh"
|
||||
bindsym $mod+space exec "~/.config/rofi/launchers-git/launcher.sh"
|
||||
|
||||
set $nord0d '#2e3440'
|
||||
set $frost2d '#eceff4'
|
||||
set $greend '#A3BE8C'
|
||||
bindsym $mod+Shift+d exec "dmenu_run -fn 'FiraCode Nerd Font Mono' -nb '#2e3440' -sb '#a3be8c' -nf '#eceff4' -sf '#2e3440'"
|
||||
|
||||
# Screenhot
|
||||
bindsym $mod+Shift+p exec "flameshot gui"
|
||||
|
||||
# Screen brightness with light
|
||||
bindsym XF86MonBrightnessUp exec light -A 5 # increase
|
||||
bindsym XF86MonBrightnessDown exec light -U 5 # decrease
|
||||
|
||||
# Volume witg pactl
|
||||
bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +2%
|
||||
bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -2%
|
||||
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
|
||||
|
||||
# Music Control with playerctl
|
||||
bindsym XF86AudioPlay exec playerctl play
|
||||
bindsym XF86AudioPause exec playerctl pause
|
||||
bindsym XF86AudioNext exec playerctl next
|
||||
bindsym XF86AudioPrev exec playerctl previous
|
||||
|
||||
# ======================================== Open Applications
|
||||
mode "Launcher" {
|
||||
bindsym f exec firefox
|
||||
bindsym s exec spotify
|
||||
bindsym d exec Discord
|
||||
|
||||
bindsym Escape mode "default"
|
||||
bindsym Return mode "default"
|
||||
}
|
||||
|
||||
bindsym $mod+o mode "Launcher"
|
||||
|
||||
# ======================================== Workspaces
|
||||
set $ws1 "1"
|
||||
set $ws2 "2"
|
||||
set $ws3 "3"
|
||||
set $ws4 "4"
|
||||
set $ws5 "5"
|
||||
set $ws6 "6"
|
||||
set $ws7 "7"
|
||||
set $ws8 "8"
|
||||
set $ws9 "9"
|
||||
set $ws10 "10"
|
||||
|
||||
# Move to workspace
|
||||
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
|
||||
|
||||
# Move window to workspace
|
||||
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
|
||||
|
||||
# ============================== Design
|
||||
# Remove title
|
||||
new_window 1pixel
|
||||
|
||||
# Set Border
|
||||
for_window [class="^.*"] border pixel 0
|
||||
|
||||
set $frost2 "#eceff4"
|
||||
set $red "#A3BE8C"
|
||||
|
||||
set $c0 "#2E3440"
|
||||
set $c8 "#434C5E"
|
||||
|
||||
# class border backgr.text indic. child_border
|
||||
client.focused $c8 $c8 $frost2 $c8 $c8
|
||||
client.focused_inactive $c0 $c0 $frost2 $c0 $c0
|
||||
client.unfocused $c0 $c0 $frost0 $c0 $c0
|
||||
client.urgent $red $red $frost2 $red $red
|
||||
client.background $frost2
|
||||
|
||||
# i3-gaps
|
||||
gaps inner 8
|
||||
|
||||
# ============================== Autostart
|
||||
# Keyboard layout
|
||||
exec setxkbmap -layout za
|
||||
|
||||
# Programs
|
||||
exec feh --bg-scale $HOME/data/wallpaper/wallpaper.png
|
||||
exec dunst &
|
||||
exec picom
|
||||
exec --no-startup-id ~/.config/polybar/launch.sh laptop &
|
||||
Reference in New Issue
Block a user