Update dots
This commit is contained in:
@@ -1,28 +1,31 @@
|
||||
# ▄▄ ▄▄ ▄▄▄▄▄▄ ▄▄▄▄▄▄ ▄▄▄▄▄▄▄ ▄▄ ▄▄▄▄▄▄▄ ▄▄▄ ▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄ ▄▄ ▄ ▄▄▄▄▄▄▄ ▄▄▄ ▄▄▄▄▄▄▄
|
||||
# █ █▄█ █ █ ▄ █ █ █ ██ █ █ █ █ █ █ █ █ █ █ █ █ █
|
||||
# █ █ ▄ █ █ █ █ █ █▄▄██ ▄▄▄▄▄█ █ █▄▄▄ █ █ █ ▄ █ █▄█ █ ▄▄▄█ █ ▄▄▄▄█
|
||||
# █ █ █▄█ █ █▄▄█▄█ ▄▄█ █ █▄▄▄▄▄ █ █▄▄▄█ █ █ ▄▄█ █ █ █ █ █▄▄▄█ █ █ ▄▄
|
||||
# █ █ █ ▄▄ █ █ █▄▄▄▄▄ █ █ █▄▄▄ █ █ █ █ █▄█ █ ▄ █ ▄▄▄█ █ █ █ █
|
||||
# █ ██▄██ █ ▄ █ █ █ █ █▄▄ ▄▄▄▄▄█ █ █ █▄▄▄█ █ █ █▄▄█ █ █ █ █ █ █ █ █▄▄█ █
|
||||
# █▄█ █▄█▄█ █▄▄█▄▄▄█ █▄█▄▄▄▄▄▄▄█ █▄▄▄▄▄▄▄█ █▄▄▄█▄▄▄▄▄▄▄█ █▄▄▄▄▄▄▄█▄▄▄▄▄▄▄█▄█ █▄▄█▄▄▄█ █▄▄▄█▄▄▄▄▄▄▄█
|
||||
|
||||
# Set Mod Keys
|
||||
set $mod Mod4
|
||||
floating_modifier $mod
|
||||
|
||||
# Font for Window Titles
|
||||
font pango:FiraCode Nerd Font Mono 8
|
||||
|
||||
# The combination of xss-lock, nm-applet and pactl is a popular choice, so
|
||||
# they are included here as an example. Modify as you see fit.
|
||||
# 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
|
||||
|
||||
# Use Mouse+$mod to drag floating windows to their wanted position
|
||||
floating_modifier $mod
|
||||
|
||||
### Keybinds ###
|
||||
# ============================== Keybinds (except workspaces)
|
||||
#Terminal
|
||||
bindsym $mod+Return exec --no-startup-id alacritty
|
||||
bindsym $mod+Ctrl+Return exec --no-startup-id xterm
|
||||
|
||||
# Locking
|
||||
# Leaving
|
||||
bindsym $mod+Shift+BackSpace exec "~/scripts/lock-laptop.sh"
|
||||
|
||||
# Exit Session
|
||||
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
|
||||
@@ -44,14 +47,12 @@ bindsym $mod+Shift+q kill
|
||||
bindsym $mod+f fullscreen toggle
|
||||
bindsym $mod+Shift+space floating toggle
|
||||
|
||||
# Layout
|
||||
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
|
||||
|
||||
# Workspace Cycle
|
||||
bindsym $mod+n workspace next
|
||||
bindsym $mod+p workspace prev
|
||||
|
||||
@@ -61,28 +62,28 @@ bindsym $mod+space exec "~/.config/rofi/launchers-git/launcher.sh"
|
||||
set $nord0d '#2e3440'
|
||||
set $frost2d '#eceff4'
|
||||
set $greend '#A3BE8C'
|
||||
bindsym $mod+d exec "dmenu_run -fn 'FiraCode Nerd Font Mono' -nb #2e3440 -sb #a3be8c -nf #eceff4 -sf #2e3440"
|
||||
bindsym $mod+d exec "dmenu_run -fn 'FiraCode Nerd Font Mono' -nb '#2e3440' -sb '#a3be8c' -nf '#eceff4' -sf '#2e3440'"
|
||||
|
||||
#bindsym --release $mod+Shift+p exec"import ~/screenshots/Screenshot-$(date '+%Y%m%d-%H%M%S').png"
|
||||
# Screenhot
|
||||
bindsym $mod+Shift+p exec "flameshot gui"
|
||||
|
||||
# Screen brightness
|
||||
# Screen brightness with light
|
||||
bindsym XF86MonBrightnessUp exec light -A 5 # increase
|
||||
bindsym XF86MonBrightnessDown exec light -U 5 # decrease
|
||||
|
||||
# Volume
|
||||
# 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
|
||||
|
||||
# Sound Control
|
||||
# Music Control with playerctl
|
||||
bindsym XF86AudioPlay exec playerctl play
|
||||
bindsym XF86AudioPause exec playerctl pause
|
||||
bindsym XF86AudioNext exec playerctl next
|
||||
bindsym XF86AudioPrev exec playerctl previous
|
||||
|
||||
### Workspaces ###
|
||||
# ======================================== Workspaces
|
||||
set $ws1 "1"
|
||||
set $ws2 "2"
|
||||
set $ws3 "3"
|
||||
@@ -118,14 +119,13 @@ 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
|
||||
|
||||
bindsym $mod+Shift+c reload
|
||||
bindsym $mod+Shift+r restart
|
||||
|
||||
### Design ###
|
||||
# ============================== Design
|
||||
# Remove title
|
||||
new_window 1pixel
|
||||
|
||||
# Set Border
|
||||
for_window [class="^.*"] border pixel 0
|
||||
|
||||
# Colors from https://www.nordtheme.com/
|
||||
set $nord0 "#2e3440"
|
||||
|
||||
set $blue1 "#88c0d0"
|
||||
@@ -136,30 +136,26 @@ set $frost2 "#eceff4"
|
||||
|
||||
set $green "#A3BE8C"
|
||||
|
||||
set $red "#bf616a"
|
||||
set $red "#bf616a"
|
||||
|
||||
# class border backgr.text indic. child_border
|
||||
client.focused $nord0 $nord0 $frost2 $nord0 $nord0
|
||||
client.focused_inactive $nord0 $blue3 $nord0 $nord0 $nord0
|
||||
client.focused $blue1 $blue1 $nord0 $nord0 $nord0
|
||||
client.focused_inactive $blue1 $blue1 $nord0 $nord0 $nord0
|
||||
client.unfocused $nord0 $nord0 $frost0 $blue1 $nord0
|
||||
client.urgent $red $red $frost2 $red $red
|
||||
client.background #ffffff
|
||||
|
||||
# Monitors
|
||||
set $monitor1 "eDP-1"
|
||||
set $monitor2 "HDMI-1"
|
||||
|
||||
# i3-gaps
|
||||
gaps inner 8
|
||||
# polybar height + gaps inner
|
||||
gaps top 35
|
||||
|
||||
bindsym $mod+Ctrl+1 move workspace to output $monitor1
|
||||
bindsym $mod+Ctrl+2 move workspace to output $monitor2
|
||||
gaps top 35 # polybar height + gaps inner
|
||||
|
||||
# ============================== Autostart
|
||||
# Keyboard layout
|
||||
exec setxkbmap -layout za
|
||||
|
||||
# Start programs
|
||||
# Programs
|
||||
exec feh --bg-scale $HOME/data/wallpaper/wallpaper.png
|
||||
exec nm-applet &
|
||||
exec dunst &
|
||||
exec picom --experimental-backends
|
||||
exec --no-startup-id ~/.config/polybar/launch.sh &
|
||||
exec --no-startup-id ~/.config/polybar/launch.sh laptop &
|
||||
|
||||
Reference in New Issue
Block a user