Update i3 & add zoxide

This commit is contained in:
Michel 2024-12-27 11:32:05 +01:00
parent 880704e39d
commit 07540040f0
6 changed files with 20 additions and 10 deletions

View file

@ -14,3 +14,6 @@ alias vim='nvim'
alias note='(cd ~/Notes/ && NVIM_APPNAME=nvim-notes nvim ~/Notes/)' alias note='(cd ~/Notes/ && NVIM_APPNAME=nvim-notes nvim ~/Notes/)'
alias diary='(cd ~/Notes/ && NVIM_APPNAME=nvim-notes nvim ~/Notes/Diary.md)' alias diary='(cd ~/Notes/ && NVIM_APPNAME=nvim-notes nvim ~/Notes/Diary.md)'
PS1='[\u@\h \W]\$ ' PS1='[\u@\h \W]\$ '
eval "$(zoxide init bash --cmd cd)"
eval "$(fzf --bash)"

View file

@ -6,6 +6,7 @@ set $wsTerminal ""
set $wsDiscord "" set $wsDiscord ""
set $ws4 "" set $ws4 ""
set $ws5 "5" set $ws5 "5"
set $wsMusic ""
set $ws6 "6" set $ws6 "6"
set $ws7 "7" set $ws7 "7"
set $ws8 "8" set $ws8 "8"

View file

@ -64,7 +64,7 @@ bindsym $mod+w layout tabbed
bindsym $mod+e layout toggle split bindsym $mod+e layout toggle split
# toggle tiling / floating # toggle tiling / floating
bindsym $mod+Shift+space floating toggle bindsym $mod+Shift+space floating toggle, sticky toggle
# focus the parent container # focus the parent container
bindsym $mod+a focus parent bindsym $mod+a focus parent
@ -82,6 +82,7 @@ bindsym $mod+6 workspace $ws6
bindsym $mod+7 workspace $ws7 bindsym $mod+7 workspace $ws7
bindsym $mod+8 workspace $ws8 bindsym $mod+8 workspace $ws8
bindsym $mod+9 workspace $ws9 bindsym $mod+9 workspace $ws9
bindsym $mod+m workspace $wsMusic
# move focused container to workspace # move focused container to workspace
bindsym $mod+Shift+4 move container to workspace number $ws4 bindsym $mod+Shift+4 move container to workspace number $ws4
@ -93,7 +94,6 @@ bindsym $mod+Shift+9 move container to workspace number $ws9
bindsym $mod+d move scratchpad bindsym $mod+d move scratchpad
bindsym $mod+Shift+d scratchpad show bindsym $mod+Shift+d scratchpad show
bindsym $mod+Mod1+d scratchpad show, floating toggle
# reload the configuration file # reload the configuration file
bindsym $mod+Shift+c reload bindsym $mod+Shift+c reload

View file

@ -39,8 +39,8 @@ floating_maximum_size 3430 x 1400
workspace $wsBrowser output DisplayPort-1 workspace $wsBrowser output DisplayPort-1
workspace $wsDiscord output DisplayPort-1 workspace $wsDiscord output DisplayPort-1
for_window [class="Xfce4-terminal"] move window to workspace $wsTerminal, focus workspace, layout splith for_window [class="kitty"] move window to workspace $wsTerminal, focus workspace, layout splith
for_window [class="zen-alpha"] move window to workspace $wsBrowser, focus workspace, layout splith for_window [class="zen-beta"] move window to workspace $wsBrowser, focus workspace, layout splith
for_window [class="vesktop"] move window to workspace $wsDiscord, focus workspace, layout splith for_window [class="vesktop"] move window to workspace $wsDiscord, focus workspace, layout splith
for_window [class="home-nativefier-e35d0d"] floating enable, resize set 500 1000, move position mouse, sticky enable for_window [class="home-nativefier-e35d0d"] floating enable, resize set 500 1000, move position mouse, sticky enable
@ -48,6 +48,11 @@ for_window [class="home-nativefier-e35d0d"] floating enable, resize set 500 1000
for_window [class="heroic"] move window to workspace $ws4, focus workspace for_window [class="heroic"] move window to workspace $ws4, focus workspace
for_window [class="steam"] move window to workspace $ws4, focus workspace for_window [class="steam"] move window to workspace $ws4, focus workspace
for_window [class="Ente_auth"] floating enable, resize set 500 1000, move position mouse for_window [class="Io.ente.auth"] floating enable, resize set 500 1000, move position mouse
for_window [class="Beeper"] move window to workspace $wsDiscord for_window [class="Beeper"] move window to workspace $wsDiscord
for_window [class="Blueberry.py"] floating enable, resize set 500 600, move position mouse
for_window [class="YouTube Music"] move window to workspace $wsMusic
for_window [class="feishin"] move window to workspace $wsMusic
for_window [class="PureRef"] floating enable, resize set 1200 800, move position center, sticky enable

View file

@ -3,16 +3,16 @@
<channel name="thunar" version="1.0"> <channel name="thunar" version="1.0">
<property name="last-view" type="string" value="ThunarDetailsView"/> <property name="last-view" type="string" value="ThunarDetailsView"/>
<property name="last-icon-view-zoom-level" type="string" value="THUNAR_ZOOM_LEVEL_100_PERCENT"/> <property name="last-icon-view-zoom-level" type="string" value="THUNAR_ZOOM_LEVEL_100_PERCENT"/>
<property name="last-window-width" type="int" value="836"/> <property name="last-window-width" type="int" value="1696"/>
<property name="last-window-height" type="int" value="1368"/> <property name="last-window-height" type="int" value="1368"/>
<property name="last-window-maximized" type="bool" value="true"/> <property name="last-window-maximized" type="bool" value="true"/>
<property name="last-separator-position" type="int" value="251"/> <property name="last-separator-position" type="int" value="251"/>
<property name="misc-single-click" type="bool" value="false"/> <property name="misc-single-click" type="bool" value="false"/>
<property name="last-side-pane" type="string" value="ThunarShortcutsPane"/> <property name="last-side-pane" type="string" value="ThunarShortcutsPane"/>
<property name="last-location-bar" type="string" value="ThunarLocationEntry"/> <property name="last-location-bar" type="string" value="ThunarLocationEntry"/>
<property name="last-details-view-zoom-level" type="string" value="THUNAR_ZOOM_LEVEL_38_PERCENT"/> <property name="last-details-view-zoom-level" type="string" value="THUNAR_ZOOM_LEVEL_50_PERCENT"/>
<property name="last-details-view-column-widths" type="string" value="50,50,123,117,87,806,50,50,2851,50,50,67,50,115"/> <property name="last-details-view-column-widths" type="string" value="50,50,123,117,86,87,50,50,1954,50,50,69,50,130"/>
<property name="last-sort-column" type="string" value="THUNAR_COLUMN_NAME"/> <property name="last-sort-column" type="string" value="THUNAR_COLUMN_NAME"/>
<property name="last-sort-order" type="string" value="GTK_SORT_DESCENDING"/> <property name="last-sort-order" type="string" value="GTK_SORT_ASCENDING"/>
<property name="last-details-view-visible-columns" type="string" value="THUNAR_COLUMN_DATE_MODIFIED,THUNAR_COLUMN_NAME,THUNAR_COLUMN_SIZE,THUNAR_COLUMN_TYPE"/> <property name="last-details-view-visible-columns" type="string" value="THUNAR_COLUMN_DATE_MODIFIED,THUNAR_COLUMN_NAME,THUNAR_COLUMN_SIZE,THUNAR_COLUMN_TYPE"/>
</channel> </channel>

View file

@ -17,7 +17,8 @@ yay -S betterlockscreen \
pulseaudio-control \ pulseaudio-control \
nitrogen \ nitrogen \
kitty \ kitty \
btop btop \
zoxide fzf # Terminal setup
if [ $XDG_SESSION_DESKTOP = "i3" ]; then if [ $XDG_SESSION_DESKTOP = "i3" ]; then
echo -e "${CYAN}# Installing dependencies (for i3)${NC}" echo -e "${CYAN}# Installing dependencies (for i3)${NC}"