This commit is contained in:
DeveloperDurp 2025-04-24 10:40:42 -05:00
parent 7fe922bcee
commit cfb63db1ad
7 changed files with 65 additions and 42 deletions

View file

@ -1 +1 @@
"bluetooth"
"panel"

View file

@ -1 +1 @@
"Adwaita Mono"
"JetBrainsMono Nerd Font Mono"

View file

@ -32,7 +32,14 @@ goland-new() {
[ -z "${dir}" ] && dir=$(find $HOME/Documents/gitlab -mindepth 2 -maxdepth 2 -type d | awk -F/ '{print $(NF-1)"/"$NF " " $0}' | fzf --reverse --header "New Session" --with-nth=1 | awk '{print $2}')
[ -z "$dir" ] && return 1
sleep 1 && goland $dir &
if [[ $dir == *'dotnet'* ]]; then
/home/user/.local/share/JetBrains/Toolbox/apps/rider/bin/rider $dir &
elif [[ $dir == *'go'* ]]; then
/home/user/.local/share/JetBrains/Toolbox/apps/goland/bin/goland $dir &
elif [[ $dir == *'devops'* ]]; then
/home/user/.local/share/JetBrains/Toolbox/apps/goland/bin/goland $dir &
fi
#sleep 1 && /home/user/.local/share/JetBrains/Toolbox/apps/goland/bin/goland $dir &
}
switch() {

View file

@ -12,7 +12,7 @@ alias lg='lazygit'
alias tree='eza -T'
alias cat='bat -P'
alias network='nmtui'
#alias docker='podman'
alias docker='podman'
alias sudo='sudo '
alias grep='rg'
alias connectvpn='sudo openvpn ~/Documents/openvpn/openvpn.ovpn'

View file

@ -34,8 +34,9 @@ exec_always "kanshi"
exec_always swayidle -w \
timeout 120 'swaylock -f' \
timeout 240 'swaymsg "output * dpms off"' \
timeout 300 'systemctl suspend' \
resume 'swaymsg "output * dpms on"' \
befor-sleep 'swaylock -f'
before-sleep 'swaylock -f'
#timeout 1200 'systemctl suspend' \
### Input configuration
@ -51,6 +52,7 @@ input "type:pointer" {
accel_profile "flat"
pointer_accel 0
}
# Notification Daemon
exec_always swaync
@ -64,16 +66,16 @@ bindsym $mod+Shift+i exec /opt/goland/bin/goland.sh
# Basics:
# Start a terminal
bindsym $mod+Return exec $term
bindsym $mod+t exec $term
# File Browser
bindsym $mod+Shift+t exec $files
bindsym $mod+f exec $files
# Browser
bindsym $mod+Shift+f exec $browser
bindsym $mod+b exec $browser
# Kill focused window
bindsym $mod+Shift+q kill
bindsym $mod+q kill
# Start your launcher
bindsym $mod+space exec $menu
@ -118,8 +120,9 @@ bindsym $mod+Shift+i exec /opt/goland/bin/goland.sh
bindsym $mod+Shift+Up move up
bindsym $mod+Shift+Right move right
# Workspaces:
# Workspaces:
# Switch to workspace
bindsym $mod+1 workspace number 1
bindsym $mod+2 workspace number 2
@ -133,19 +136,23 @@ bindsym $mod+Shift+i exec /opt/goland/bin/goland.sh
bindsym $mod+0 workspace number 10
# Move focused container to workspace
bindsym $mod+control+1 move container to workspace number 1
bindsym $mod+control+2 move container to workspace number 2
bindsym $mod+control+3 move container to workspace number 3
bindsym $mod+control+4 move container to workspace number 4
bindsym $mod+control+5 move container to workspace number 5
bindsym $mod+control+6 move container to workspace number 6
bindsym $mod+control+7 move container to workspace number 7
bindsym $mod+control+8 move container to workspace number 8
bindsym $mod+control+9 move container to workspace number 9
bindsym $mod+control+0 move container to workspace number 10
bindsym $mod+control+1 move container to workspace number 1;workspace number 1
bindsym $mod+control+2 move container to workspace number 2;workspace number 2
bindsym $mod+control+3 move container to workspace number 3;workspace number 3
bindsym $mod+control+4 move container to workspace number 4;workspace number 4
bindsym $mod+control+5 move container to workspace number 5;workspace number 5
bindsym $mod+control+6 move container to workspace number 6;workspace number 6
bindsym $mod+control+7 move container to workspace number 7;workspace number 7
bindsym $mod+control+8 move container to workspace number 8;workspace number 8
bindsym $mod+control+9 move container to workspace number 9;workspace number 9
bindsym $mod+control+0 move container to workspace number 10;workspace number 10
bindsym $mod+control+l workspace next
bindsym $mod+control+h workspace prev
# Move window to next or previous workspace
bindsym $mod+Shift+control+$left move container to workspace prev; workspace prev
bindsym $mod+Shift+control+$right move container to workspace next; workspace next
# bindsym $mod+control+$left move workspace to output left
# bindsym $mod+control+$down move workspace to output down
@ -157,8 +164,8 @@ bindsym $mod+Shift+i exec /opt/goland/bin/goland.sh
# You can "split" the current object of your focus with
# $mod+b or $mod+v, for horizontal and vertical splits
# respectively.
bindsym $mod+b splith
bindsym $mod+v splitv
#bindsym $mod+b splith
#bindsym $mod+v splitv
# Switch the current container between different layout styles
bindsym $mod+s layout stacking
@ -166,7 +173,7 @@ bindsym $mod+Shift+i exec /opt/goland/bin/goland.sh
bindsym $mod+e layout toggle split
# Make the current focus fullscreen
bindsym $mod+f fullscreen
bindsym $mod+m fullscreen
# Toggle the current focus between tiling and floating mode
bindsym $mod+Shift+space floating toggle
@ -217,12 +224,12 @@ bindsym $mod+p exec grim -g "$(slurp)" - | wl-copy
bindsym $mod+shift+p exec grim - | wl-copy
# Border
client.focused "#4c00b0" "#4c00b0" "#ffffff" "#4c00b0"
client.focused "#ff77ff" "#ff77ff" "#ffffff" "#ff77ff"
default_border pixel 2
gaps inner 2
# Guesture
bindgesture swipe:right workspace prev
bindgesture swipe:left workspace next
bindgesture swipe:right workspace next
bindgesture swipe:left workspace prev
include /etc/sway/config.d/*