alacritty update and emacs config

Signed-off-by: TuDatTr <tuan-dat.tran@tudattr.dev>
This commit is contained in:
TuDatTr
2024-02-17 11:18:54 +01:00
parent 6c2bc75f12
commit 9ceae68f52
6 changed files with 192 additions and 1100 deletions

View File

@@ -21,8 +21,6 @@ focus_follows_mouse no
# Configure
# border style <normal|1pixel|pixel xx|none|pixel>
new_window pixel 3
new_float normal
hide_edge_borders none
################################################################################################
@@ -82,19 +80,6 @@ bindsym $mod+Shift+0 move container to workspace $ws0; workspace $ws0
# Open specific applications in floating mode
for_window [class="(?i)virtualbox"] floating enable border normal
for_window [title="KeePassX$"] floating enable border normal
for_window [class="^Thunderbird$" title="^.*Event:"] floating enable
# https://github.com/z3ntu/dotfiles/blob/master/i3/.config/i3/config
# Steam
for_window [class="^Steam$" title="^Friends List$"] floating enable
for_window [class="^Steam$" title="Steam"] floating enable
for_window [class="^Steam$" title="^Settings$"] floating enable
for_window [class="^Steam$" title=".* - event started"] floating enable
for_window [class="^Steam$" title=".* CD key"] floating enable
for_window [class="^Steam$" title="^Steam - Self Updater$"] floating enable
for_window [class="^Steam$" title="^Screenshot Uploader$"] floating enable
for_window [class="^Steam$" title="^Steam Guard - Computer Authorization Required$"] floating enable
for_window [title="^Steam Keyboard$"] floating enable
###############################################################################
############################ Startup Applications #############################
@@ -140,10 +125,10 @@ bindsym XF86MonBrightnessDown exec --no-startup-id ~/.scripts/screen.sh down
bindsym XF86AudioLowerVolume exec --no-startup-id ~/.scripts/sound.sh down
bindsym XF86AudioRaiseVolume exec --no-startup-id ~/.scripts/sound.sh up
bindsym XF86AudioMute exec --no-startup-id ~/.scripts/sound.sh toggle
bindsym XF86AudioPlay exec "playerctl play-pause; cmus-remote -u"
bindsym XF86AudioStop exec "playerctl stop; cmus-remote -s"
bindsym XF86AudioNext exec "playerctl next; cmus-remote -n"
bindsym XF86AudioPrevious exec "playerctl previous; cmus-remote -r"
bindsym XF86AudioPlay exec "playerctl play-pause"
bindsym XF86AudioStop exec "playerctl stop"
bindsym XF86AudioNext exec "playerctl next"
bindsym XF86AudioPrevious exec "playerctl previous"
# Application Shortcuts
bindsym $mod+b exec firefox
@@ -193,7 +178,7 @@ bindsym $mod+f fullscreen toggle
bindsym $mod+Mod1+space floating toggle
# change focus between tiling / floating windows
# bindsym $mod+space focus mode_toggle
bindsym $mod+Shift+f focus mode_toggle
# focus the parent container
bindsym $mod+a focus parent