Fix stuff

This commit is contained in:
Marco Thomas
2022-02-03 06:35:42 +01:00
parent 1f7db961d8
commit fd31cdf2ca
13 changed files with 164 additions and 305 deletions

View File

@@ -6,11 +6,16 @@ floating_modifier $mod
# applications
bindsym $mod+Return exec --no-startup-id alacritty
bindsym $mod+d exec --no-startup-id rofi -theme ~/.config/rofi/light.rasi -show drun
bindsym $mod+Shift+s exec --no-startup-id flameshot gui
bindsym XF86Calculator exec --no-startup-id emacs
# rofi
bindsym $mod+d exec --no-startup-id rofi -show drun
bindsym $mod+s exec --no-startup-id rofi -show window # 's'witch window
bindsym $mod+a exec --no-startup-id rofi -show filebrowser
# audio and brightness
bindsym XF86AudioMicMute exec --no-startup-id pactl set-source-mute @DEFAULT_SOURCE@ toggle; exec --no-startup-id notify-send -i /usr/share/icons/Papirus/48x48/devices/audio-input-microphone.svg -u critical "Audio" "Mic Mute toggled"
bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle
bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -5%
bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +5%
@@ -47,13 +52,13 @@ bindsym $mod+Shift+k move up
bindsym $mod+Shift+l move right
# split in horizontal orientation
bindsym $mod+v split h
# bindsym $mod+v split h
# split in vertical orientation
bindsym $mod+s split v
# bindsym $mod+s split v
# enable stacked
bindsym $mod+a layout stacking
# bindsym $mod+a layout stacking
# enter fullscreen mode for the focused container
bindsym $mod+f fullscreen toggle
@@ -107,7 +112,7 @@ bindsym $mod+Ctrl+h move workspace to output left
bindsym $mod+Ctrl+l move workspace to output right
# reload the configuration file
bindsym $mod+Shift+c reload
bindsym $mod+Shift+c reload; exec --no-startup-id notify-send 'i3wm' 'Reloaded i3 configuration'
# restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
bindsym $mod+Shift+r restart
@@ -117,7 +122,7 @@ title_align center
# colors
set $white "#ffffff"
set $fg "#5c6773"
set $black "#000000"
set $black "#222222"
set $grey "#eeeeee"
set $green "#a6cc70"
set $red "#ff3333"
@@ -125,22 +130,29 @@ set $blue "#55b4d4"
set $yellow "#e7c547"
# class border backgr. text indicator child_border
client.focused $green $green $fg $green $grey
client.focused $black $black $white $black $black
client.focused_inactive $grey $grey $fg $grey $grey
client.unfocused $grey $grey $fg $grey $grey
client.urgent $red $red $white $red $red
client.urgent $red $red $white $red $grey
# i3 bar
# flaoting on start
# floating on start
for_window [class="Pavucontrol"] floating enable
for_window [title="Event Tester"] floating enable
for_window [class="flameshot"] floating enable
# auto assign
for_window [class="Firefox"] move to workspace $ws2
for_window [class="discord"] move to workspace $ws3
for_window [class="TelegramDesktop"] move to workspace $ws3
for_window [class="Spotify"] move to workspace $ws4
for_window [class="Thunderbird"] move to workspace $ws9
# border
smart_borders on
smart_gaps on
# gaps
gaps inner 10
gaps inner 0
# desktop (wallpaper, bar, ...)
exec_always --no-startup-id ~/dots/scripts/reload_desktop.sh
@@ -150,5 +162,6 @@ exec --no-startup-id nm-applet
exec --no-startup-id keepassxc
exec --no-startup-id seafile-applet
exec --no-startup-id fcitx5
exec --no-startup-id picom
exec --no-startup-id libinput-gestures-setup start
exec --no-startup-id redshift-gtk -l 48.13333:11.56667