update
This commit is contained in:
parent
7fe922bcee
commit
cfb63db1ad
7 changed files with 65 additions and 42 deletions
|
|
@ -1 +1 @@
|
||||||
"bluetooth"
|
"panel"
|
||||||
|
|
@ -1 +1 @@
|
||||||
"Adwaita Mono"
|
"JetBrainsMono Nerd Font Mono"
|
||||||
|
|
@ -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}" ] && 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
|
[ -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() {
|
switch() {
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,7 @@ alias lg='lazygit'
|
||||||
alias tree='eza -T'
|
alias tree='eza -T'
|
||||||
alias cat='bat -P'
|
alias cat='bat -P'
|
||||||
alias network='nmtui'
|
alias network='nmtui'
|
||||||
#alias docker='podman'
|
alias docker='podman'
|
||||||
alias sudo='sudo '
|
alias sudo='sudo '
|
||||||
alias grep='rg'
|
alias grep='rg'
|
||||||
alias connectvpn='sudo openvpn ~/Documents/openvpn/openvpn.ovpn'
|
alias connectvpn='sudo openvpn ~/Documents/openvpn/openvpn.ovpn'
|
||||||
|
|
|
||||||
|
|
@ -34,8 +34,9 @@ exec_always "kanshi"
|
||||||
exec_always swayidle -w \
|
exec_always swayidle -w \
|
||||||
timeout 120 'swaylock -f' \
|
timeout 120 'swaylock -f' \
|
||||||
timeout 240 'swaymsg "output * dpms off"' \
|
timeout 240 'swaymsg "output * dpms off"' \
|
||||||
|
timeout 300 'systemctl suspend' \
|
||||||
resume 'swaymsg "output * dpms on"' \
|
resume 'swaymsg "output * dpms on"' \
|
||||||
befor-sleep 'swaylock -f'
|
before-sleep 'swaylock -f'
|
||||||
|
|
||||||
#timeout 1200 'systemctl suspend' \
|
#timeout 1200 'systemctl suspend' \
|
||||||
### Input configuration
|
### Input configuration
|
||||||
|
|
@ -51,6 +52,7 @@ input "type:pointer" {
|
||||||
accel_profile "flat"
|
accel_profile "flat"
|
||||||
pointer_accel 0
|
pointer_accel 0
|
||||||
}
|
}
|
||||||
|
|
||||||
# Notification Daemon
|
# Notification Daemon
|
||||||
exec_always swaync
|
exec_always swaync
|
||||||
|
|
||||||
|
|
@ -64,16 +66,16 @@ bindsym $mod+Shift+i exec /opt/goland/bin/goland.sh
|
||||||
|
|
||||||
# Basics:
|
# Basics:
|
||||||
# Start a terminal
|
# Start a terminal
|
||||||
bindsym $mod+Return exec $term
|
bindsym $mod+t exec $term
|
||||||
|
|
||||||
# File Browser
|
# File Browser
|
||||||
bindsym $mod+Shift+t exec $files
|
bindsym $mod+f exec $files
|
||||||
|
|
||||||
# Browser
|
# Browser
|
||||||
bindsym $mod+Shift+f exec $browser
|
bindsym $mod+b exec $browser
|
||||||
|
|
||||||
# Kill focused window
|
# Kill focused window
|
||||||
bindsym $mod+Shift+q kill
|
bindsym $mod+q kill
|
||||||
|
|
||||||
# Start your launcher
|
# Start your launcher
|
||||||
bindsym $mod+space exec $menu
|
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+Up move up
|
||||||
bindsym $mod+Shift+Right move right
|
bindsym $mod+Shift+Right move right
|
||||||
|
|
||||||
# Workspaces:
|
|
||||||
|
|
||||||
|
# Workspaces:
|
||||||
|
|
||||||
# Switch to workspace
|
# Switch to workspace
|
||||||
bindsym $mod+1 workspace number 1
|
bindsym $mod+1 workspace number 1
|
||||||
bindsym $mod+2 workspace number 2
|
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
|
bindsym $mod+0 workspace number 10
|
||||||
|
|
||||||
# Move focused container to workspace
|
# Move focused container to workspace
|
||||||
bindsym $mod+control+1 move container to workspace number 1
|
bindsym $mod+control+1 move container to workspace number 1;workspace number 1
|
||||||
bindsym $mod+control+2 move container to workspace number 2
|
bindsym $mod+control+2 move container to workspace number 2;workspace number 2
|
||||||
bindsym $mod+control+3 move container to workspace number 3
|
bindsym $mod+control+3 move container to workspace number 3;workspace number 3
|
||||||
bindsym $mod+control+4 move container to workspace number 4
|
bindsym $mod+control+4 move container to workspace number 4;workspace number 4
|
||||||
bindsym $mod+control+5 move container to workspace number 5
|
bindsym $mod+control+5 move container to workspace number 5;workspace number 5
|
||||||
bindsym $mod+control+6 move container to workspace number 6
|
bindsym $mod+control+6 move container to workspace number 6;workspace number 6
|
||||||
bindsym $mod+control+7 move container to workspace number 7
|
bindsym $mod+control+7 move container to workspace number 7;workspace number 7
|
||||||
bindsym $mod+control+8 move container to workspace number 8
|
bindsym $mod+control+8 move container to workspace number 8;workspace number 8
|
||||||
bindsym $mod+control+9 move container to workspace number 9
|
bindsym $mod+control+9 move container to workspace number 9;workspace number 9
|
||||||
bindsym $mod+control+0 move container to workspace number 10
|
bindsym $mod+control+0 move container to workspace number 10;workspace number 10
|
||||||
|
|
||||||
bindsym $mod+control+l workspace next
|
bindsym $mod+control+l workspace next
|
||||||
bindsym $mod+control+h workspace prev
|
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+$left move workspace to output left
|
||||||
# bindsym $mod+control+$down move workspace to output down
|
# 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
|
# You can "split" the current object of your focus with
|
||||||
# $mod+b or $mod+v, for horizontal and vertical splits
|
# $mod+b or $mod+v, for horizontal and vertical splits
|
||||||
# respectively.
|
# respectively.
|
||||||
bindsym $mod+b splith
|
#bindsym $mod+b splith
|
||||||
bindsym $mod+v splitv
|
#bindsym $mod+v splitv
|
||||||
|
|
||||||
# Switch the current container between different layout styles
|
# Switch the current container between different layout styles
|
||||||
bindsym $mod+s layout stacking
|
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
|
bindsym $mod+e layout toggle split
|
||||||
|
|
||||||
# Make the current focus fullscreen
|
# Make the current focus fullscreen
|
||||||
bindsym $mod+f fullscreen
|
bindsym $mod+m fullscreen
|
||||||
|
|
||||||
# Toggle the current focus between tiling and floating mode
|
# Toggle the current focus between tiling and floating mode
|
||||||
bindsym $mod+Shift+space floating toggle
|
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
|
bindsym $mod+shift+p exec grim - | wl-copy
|
||||||
|
|
||||||
# Border
|
# Border
|
||||||
client.focused "#4c00b0" "#4c00b0" "#ffffff" "#4c00b0"
|
client.focused "#ff77ff" "#ff77ff" "#ffffff" "#ff77ff"
|
||||||
default_border pixel 2
|
default_border pixel 2
|
||||||
gaps inner 2
|
gaps inner 2
|
||||||
|
|
||||||
# Guesture
|
# Guesture
|
||||||
bindgesture swipe:right workspace prev
|
bindgesture swipe:right workspace next
|
||||||
bindgesture swipe:left workspace next
|
bindgesture swipe:left workspace prev
|
||||||
|
|
||||||
include /etc/sway/config.d/*
|
include /etc/sway/config.d/*
|
||||||
|
|
|
||||||
33
.ideavimrc
33
.ideavimrc
|
|
@ -155,11 +155,11 @@ let g:WhichKeyDesc_GoTag_AddKey = "<leader>gt Add Tag"
|
||||||
map <leader>gt :action IntentionActionAsAction_com.goide.inspections.tag.GoTagAddKeyIntention<CR>
|
map <leader>gt :action IntentionActionAsAction_com.goide.inspections.tag.GoTagAddKeyIntention<CR>
|
||||||
|
|
||||||
" Errors
|
" Errors
|
||||||
let g:WhichKeyDesc_Errors = "<leader>e Errors"
|
" let g:WhichKeyDesc_Errors = "<leader>e Errors"
|
||||||
let g:WhichKeyDesc_NextError = "<leader>en Next error in solution"
|
" let g:WhichKeyDesc_NextError = "<leader>en Next error in solution"
|
||||||
let g:WhichKeyDesc_PrevError = "<leader>ep Previous error in solution"
|
" let g:WhichKeyDesc_PrevError = "<leader>ep Previous error in solution"
|
||||||
map <leader>en <action>(ReSharperGotoNextErrorInSolution)
|
" map <leader>en <action>(ReSharperGotoNextErrorInSolution)
|
||||||
map <leader>ep <action>(ReSharperGotoPrevErrorInSolution)
|
" map <leader>ep <action>(ReSharperGotoPrevErrorInSolution)
|
||||||
|
|
||||||
" Menu
|
" Menu
|
||||||
let g:WhichKeyDesc_Menu = "<leader>m Menu"
|
let g:WhichKeyDesc_Menu = "<leader>m Menu"
|
||||||
|
|
@ -199,15 +199,20 @@ map <leader>np <Action>(NewPowerShellFile)
|
||||||
map <leader>nf <Action>(NewFile)
|
map <leader>nf <Action>(NewFile)
|
||||||
map <leader>ns <action>(NewScratchFile)
|
map <leader>ns <action>(NewScratchFile)
|
||||||
|
|
||||||
" Git windows
|
" Gitlab
|
||||||
let g:WhichKeyDesc_git = "<leader>G Git/Go Operations"
|
" let g:WhichKeyDesc_git = "<leader>G Git/Go Operations"
|
||||||
let g:WhichKeyDesc_git_commit = "<leader>Gc Open Git commit dialog"
|
" let g:WhichKeyDesc_git_commit = "<leader>Gc Open Git commit dialog"
|
||||||
let g:WhichKeyDesc_git_branches = "<leader>Gb Open Git branches list"
|
" let g:WhichKeyDesc_git_branches = "<leader>Gb Open Git branches list"
|
||||||
let g:WhichKeyDesc_git_pull = "<leader>Gp Open Git Pull"
|
" let g:WhichKeyDesc_git_pull = "<leader>Gp Open Git Pull"
|
||||||
map <leader>Gc <Action>(CheckinProject)
|
" map <leader>Gc <Action>(CheckinProject)
|
||||||
map <leader>Gb <Action>(Git.Branches)
|
" map <leader>Gb <Action>(Git.Branches)
|
||||||
map <leader>Gp <Action>(Git.Pull)
|
" map <leader>Gp <Action>(Git.Pull)
|
||||||
map <leader>GP <Action>(Vcs.Push)
|
" map <leader>GP <Action>(Vcs.Push)
|
||||||
|
let g:WhichKeyDesc_gitlab = "<leader>G Gitlab"
|
||||||
|
let g:WhichKeyDesc_gitlab_ciview = "<leader>Gp View Pipeline"
|
||||||
|
let g:WhichKeyDesc_gitlab_ciview = "<leader>GP View Pipeline Browser"
|
||||||
|
map <leader>Gp <Action>(TUILauncher.glab-ci-view)
|
||||||
|
map <leader>GP <Action>(TUILauncher.glab-ci-view-web)
|
||||||
|
|
||||||
" Tools
|
" Tools
|
||||||
let g:WhichKeyDesc_Tools = "<leader>t Tools"
|
let g:WhichKeyDesc_Tools = "<leader>t Tools"
|
||||||
|
|
|
||||||
|
|
@ -99,6 +99,7 @@ required_packages_pacman:
|
||||||
- webkit2gtk-4.1
|
- webkit2gtk-4.1
|
||||||
- freerdp
|
- freerdp
|
||||||
- remmina
|
- remmina
|
||||||
|
- wakeonlan
|
||||||
|
|
||||||
flatpak_remote:
|
flatpak_remote:
|
||||||
- { name: "flathub", url: "https://dl.flathub.org/repo/flathub.flatpakrepo" }
|
- { name: "flathub", url: "https://dl.flathub.org/repo/flathub.flatpakrepo" }
|
||||||
|
|
@ -115,11 +116,13 @@ required_packages_flatpak:
|
||||||
- org.libreoffice.LibreOffice
|
- org.libreoffice.LibreOffice
|
||||||
- com.brave.Browser
|
- com.brave.Browser
|
||||||
- io.podman_desktop.PodmanDesktop
|
- io.podman_desktop.PodmanDesktop
|
||||||
|
- sh.loft.devpod
|
||||||
|
- com.parsecgaming.parsec
|
||||||
|
|
||||||
systemd_service:
|
systemd_service:
|
||||||
- cronie.service
|
- cronie.service
|
||||||
- cosmic-greeter.service
|
#- cosmic-greeter.service
|
||||||
#- ly.service
|
- ly.service
|
||||||
- libvirtd.service
|
- libvirtd.service
|
||||||
- com.system76.PowerDaemon.service
|
- com.system76.PowerDaemon.service
|
||||||
- ufw.service
|
- ufw.service
|
||||||
|
|
@ -152,3 +155,4 @@ yay:
|
||||||
- wdisplays
|
- wdisplays
|
||||||
- bluetuith
|
- bluetuith
|
||||||
- powershell
|
- powershell
|
||||||
|
- urbackup2-client
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue