diff --git a/.config/cosmic/com.system76.CosmicSettings/v1/active-page b/.config/cosmic/com.system76.CosmicSettings/v1/active-page index 653c08c..ca2db26 100644 --- a/.config/cosmic/com.system76.CosmicSettings/v1/active-page +++ b/.config/cosmic/com.system76.CosmicSettings/v1/active-page @@ -1 +1 @@ -"bluetooth" \ No newline at end of file +"panel" \ No newline at end of file diff --git a/.config/cosmic/com.system76.CosmicTerm/v1/font_name b/.config/cosmic/com.system76.CosmicTerm/v1/font_name index fa0e7d9..f3320c6 100644 --- a/.config/cosmic/com.system76.CosmicTerm/v1/font_name +++ b/.config/cosmic/com.system76.CosmicTerm/v1/font_name @@ -1 +1 @@ -"Adwaita Mono" \ No newline at end of file +"JetBrainsMono Nerd Font Mono" \ No newline at end of file diff --git a/.config/scripts/sessions.sh b/.config/scripts/sessions.sh index 31f0302..2f3c6e4 100755 --- a/.config/scripts/sessions.sh +++ b/.config/scripts/sessions.sh @@ -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() { diff --git a/.config/shell/alias.zsh b/.config/shell/alias.zsh index 69c80b1..794c359 100644 --- a/.config/shell/alias.zsh +++ b/.config/shell/alias.zsh @@ -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' diff --git a/.config/sway/config b/.config/sway/config index d06a706..5c5e93c 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -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/* diff --git a/.ideavimrc b/.ideavimrc index 54224b0..5fcd16d 100644 --- a/.ideavimrc +++ b/.ideavimrc @@ -155,11 +155,11 @@ let g:WhichKeyDesc_GoTag_AddKey = "gt Add Tag" map gt :action IntentionActionAsAction_com.goide.inspections.tag.GoTagAddKeyIntention " Errors -let g:WhichKeyDesc_Errors = "e Errors" -let g:WhichKeyDesc_NextError = "en Next error in solution" -let g:WhichKeyDesc_PrevError = "ep Previous error in solution" -map en (ReSharperGotoNextErrorInSolution) -map ep (ReSharperGotoPrevErrorInSolution) +" let g:WhichKeyDesc_Errors = "e Errors" +" let g:WhichKeyDesc_NextError = "en Next error in solution" +" let g:WhichKeyDesc_PrevError = "ep Previous error in solution" +" map en (ReSharperGotoNextErrorInSolution) +" map ep (ReSharperGotoPrevErrorInSolution) " Menu let g:WhichKeyDesc_Menu = "m Menu" @@ -199,15 +199,20 @@ map np (NewPowerShellFile) map nf (NewFile) map ns (NewScratchFile) -" Git windows -let g:WhichKeyDesc_git = "G Git/Go Operations" -let g:WhichKeyDesc_git_commit = "Gc Open Git commit dialog" -let g:WhichKeyDesc_git_branches = "Gb Open Git branches list" -let g:WhichKeyDesc_git_pull = "Gp Open Git Pull" -map Gc (CheckinProject) -map Gb (Git.Branches) -map Gp (Git.Pull) -map GP (Vcs.Push) +" Gitlab +" let g:WhichKeyDesc_git = "G Git/Go Operations" +" let g:WhichKeyDesc_git_commit = "Gc Open Git commit dialog" +" let g:WhichKeyDesc_git_branches = "Gb Open Git branches list" +" let g:WhichKeyDesc_git_pull = "Gp Open Git Pull" +" map Gc (CheckinProject) +" map Gb (Git.Branches) +" map Gp (Git.Pull) +" map GP (Vcs.Push) +let g:WhichKeyDesc_gitlab = "G Gitlab" +let g:WhichKeyDesc_gitlab_ciview = "Gp View Pipeline" +let g:WhichKeyDesc_gitlab_ciview = "GP View Pipeline Browser" +map Gp (TUILauncher.glab-ci-view) +map GP (TUILauncher.glab-ci-view-web) " Tools let g:WhichKeyDesc_Tools = "t Tools" diff --git a/ansible/roles/packages/vars/Archlinux.yml b/ansible/roles/packages/vars/Archlinux.yml index 3bb2611..45b78e2 100644 --- a/ansible/roles/packages/vars/Archlinux.yml +++ b/ansible/roles/packages/vars/Archlinux.yml @@ -99,6 +99,7 @@ required_packages_pacman: - webkit2gtk-4.1 - freerdp - remmina + - wakeonlan flatpak_remote: - { name: "flathub", url: "https://dl.flathub.org/repo/flathub.flatpakrepo" } @@ -115,11 +116,13 @@ required_packages_flatpak: - org.libreoffice.LibreOffice - com.brave.Browser - io.podman_desktop.PodmanDesktop + - sh.loft.devpod + - com.parsecgaming.parsec systemd_service: - cronie.service - - cosmic-greeter.service - #- ly.service + #- cosmic-greeter.service + - ly.service - libvirtd.service - com.system76.PowerDaemon.service - ufw.service @@ -152,3 +155,4 @@ yay: - wdisplays - bluetuith - powershell + - urbackup2-client