diff --git a/.config/nvim/lua/plugins/vim-copilot.lua b/.config/nvim/lua/plugins/vim-copilot.lua index 2e00887..55dc633 100644 --- a/.config/nvim/lua/plugins/vim-copilot.lua +++ b/.config/nvim/lua/plugins/vim-copilot.lua @@ -1,6 +1,11 @@ return { 'github/copilot.vim', config = function() + vim.keymap.set('i', '', 'copilot#Accept("\\")', { + expr = true, + replace_keycodes = false + }) + vim.g.copilot_no_tab_map = true end } diff --git a/.config/sway/config b/.config/sway/config index a0c4cbd..bee91ad 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -7,7 +7,7 @@ set $mod Mod4 set $term kitty -1 #set $term ghostty -set $menu wofi -S drun -G +set $menu wofi -S drun -GI set $left h set $down j @@ -25,7 +25,7 @@ exec --no-startup-id nohup shikane -c /home/jozamudi/.config/shikane/config.toml bindswitch --reload --locked lid:on output $laptop disable bindswitch --reload --locked lid:off output $laptop enable -exec_always --no-startup-id nohup '/home/jozamudi/.config/sway/scripts/clamshell-mode.sh' +exec_always --no-startup-id '/home/jozamudi/.config/sway/scripts/clamshell-mode.sh' ### Idle configuration exec swayidle -w \ @@ -38,15 +38,17 @@ seat seat0 xcursor_theme Adwaita 25 # Auto start .desktop files using dex exec dex -a -exec nohup pipewire -exec nohup swaync +exec pipewire +exec swaync +exec waybar +exec mpd exec nohup sway-audio-idle-inhibit -exec nohup waybar -exec wl-paste -t text --watch clipman store --no-persist +#exec wl-paste -t text --watch clipman store --no-persist #better audio -exec easyeffects -w -l Laptop +#exec easyeffects -w -l Laptop default_border pixel 2 default_floating_border pixel 2 +exec dbus-update-activation-environment --systemd WAYLAND_DISPLAY DISPLAY SWAYSOCK XDG_CURRENT_DESKTOP=sway XDG_SESSION_DESKTOP=sway diff --git a/.config/sway/config.d/keybinds b/.config/sway/config.d/keybinds index c9b1378..9bbfacf 100644 --- a/.config/sway/config.d/keybinds +++ b/.config/sway/config.d/keybinds @@ -118,6 +118,9 @@ bindsym $mod+Shift+s sticky toggle # Toggle laptop display bindsym $mod+m output $laptop toggle +# play/pause media player +bindsym XF86Favorites exec playerctl play-pause + bindsym XF86AudioRaiseVolume exec pactl set-sink-volume @DEFAULT_SINK@ +5% \ && pkill -RTMIN+10 i3blocks; diff --git a/.config/sway/config.d/windows b/.config/sway/config.d/windows index 24fa2f8..4382ab1 100644 --- a/.config/sway/config.d/windows +++ b/.config/sway/config.d/windows @@ -13,3 +13,4 @@ for_window [title="LUCID"] floating enable for_window [title="Pydm|pydm"] floating enable for_window [title="Form"] floating enable for_window [title="zoom"] floating enable + diff --git a/.config/tmux/tmux.conf b/.config/tmux/tmux.conf index 75c8fca..f76407f 100644 --- a/.config/tmux/tmux.conf +++ b/.config/tmux/tmux.conf @@ -52,4 +52,4 @@ set-option -g update-environment "SSH_AUTH_SOCK \ DISPLAY " -set -g status-style bg=default +# set -g status-style bg=default diff --git a/.config/waybar/config.jsonc b/.config/waybar/config.jsonc index 8d9f70f..f6ab771 100644 --- a/.config/waybar/config.jsonc +++ b/.config/waybar/config.jsonc @@ -4,7 +4,7 @@ // "position": "bottom", // Waybar position (top|bottom|left|right) //"height": 10, // Waybar height (to be removed for auto height) // "width": 1280, // Waybar width - "spacing": 0, // Gaps between modules (4px) + "spacing": 6, // Gaps between modules (4px) // Choose the order of the modules "modules-left": [ "sway/workspaces", @@ -70,11 +70,12 @@ "tooltip-format": "{app}: {title}" }, "mpd": { - "format": "{stateIcon} {consumeIcon}{randomIcon}{repeatIcon}{singleIcon}{artist} - {album} - {title} ({elapsedTime:%M:%S}/{totalTime:%M:%S}) ⸨{songPosition}|{queueLength}⸩ {volume}% ", + "format": "{stateIcon} {consumeIcon}{randomIcon}{repeatIcon}{singleIcon}{artist} - {album} - {title} ({elapsedTime:%M:%S}/{totalTime:%M:%S}) ⸨{songPosition}|{queueLength}⸩% ", "format-disconnected": "Disconnected ", //"format-stopped": "{consumeIcon}{randomIcon}{repeatIcon}{singleIcon}Stopped ", "format-stopped": "", - "unknown-tag": "N/A", + //"unknown-tag": "N/A", + "unknown-tag": "", "interval": 5, "consume-icons": { "on": " " @@ -97,7 +98,7 @@ "tooltip-format-disconnected": "MPD (disconnected)" }, "idle_inhibitor": { - "format": "{icon} ", + "format": "{icon}", "format-icons": { "activated": "", "deactivated": "" @@ -112,10 +113,11 @@ // } }, "clock": { - // "timezone": "America/New_York", + "timezone": "America/Los_Angeles", "tooltip-format": "{:%Y %B}\n{calendar}", - "format": "{:%r}", - "format-alt": "{:%Y-%m-%d}" + "format": "{:%R%p %Y-%m-%d}", + //"format": "{:%R %p %Y-%m-%d}", + //"format-alt": "{:%Y-%m-%d}" }, "cpu": { "format": "{usage}% ", @@ -143,7 +145,7 @@ "warning": 30, "critical": 15 }, - "format": "{capacity}% {icon}", + "format": "{time} {capacity}% {icon}", "format-full": "{capacity}% {icon}", "format-charging": "{capacity}% C", "format-plugged": "{capacity}% P", diff --git a/.config/waybar/style.css b/.config/waybar/style.css index 0762f6b..9572d5c 100644 --- a/.config/waybar/style.css +++ b/.config/waybar/style.css @@ -6,8 +6,9 @@ } window#waybar { - background-color: rgba(43, 48, 59, 0.5); - border-bottom: 3px solid rgba(100, 114, 125, 0.5); + /*background-color: rgba(43, 48, 59, 0.5); + border-bottom: 3px solid rgba(100, 114, 125, 0.5); */ + background-color: rgba(0, 0, 0, 1); color: #ffffff; transition-property: background-color; transition-duration: .5s;