diff options
| author | Xander Swan <email> | 2025-12-03 10:00:41 -0500 |
|---|---|---|
| committer | Xander Swan <email> | 2025-12-03 10:00:41 -0500 |
| commit | 61fedccf381bcfdf91d497d3de053271e85e4430 (patch) | |
| tree | 0700e8bfca6e4ca00e8d4e8f5a891470ad375861 | |
| parent | 34687f97048339fd34412e4af8556495015658ef (diff) | |
update dotfiles
| -rw-r--r-- | .config/i3/config | 10 | ||||
| -rw-r--r-- | .config/nvim/init.lua | 2 | ||||
| -rw-r--r-- | .config/nvim/lua/neovide.lua | 9 | ||||
| -rw-r--r-- | .config/nvim/lua/plugin/packer.lua | 2 | ||||
| -rw-r--r-- | .config/nvim/lua/plugin/setup.lua | 17 | ||||
| -rw-r--r-- | .config/picom/picom.conf | 2 | ||||
| -rw-r--r-- | .config/polybar/config.ini | 45 | ||||
| -rw-r--r-- | .config/polybar/launch.sh | 6 |
8 files changed, 81 insertions, 12 deletions
diff --git a/.config/i3/config b/.config/i3/config index 5fec7de..01a9b1f 100644 --- a/.config/i3/config +++ b/.config/i3/config @@ -6,11 +6,11 @@ set $right l font pango:MartianMono Nerd Font Medium 9 +exec --no-startup-id xrandr --output HDMI-A-1 --primary --mode 1920x1080 --rate 240 --output DVI-D-0 --mode 1024x768 --rate 60 --right-of HDMI-A-1 exec --no-startup-id dex --autostart --environment i3 exec --no-startup-id xss-lock --transfer-sleep-lock -- i3lock --nofork exec --no-startup-id nm-applet exec --no-startup-id nitrogen --restore -exec --no-startup-id picom exec_always --no-startup-id sh ~/.config/polybar/launch.sh exec --no-startup-id discord @@ -25,11 +25,14 @@ bindsym XF86AudioMicMute exec --no-startup-id pactl set-source-mute @DEFAULT_SOU bindsym XF86AudioPause exec --no-startup-id playerctl play-pause && $refresh_i3status bindsym XF86AudioNext exec --no-startup-id playerctl next && $refresh_i3status bindsym XF86AudioPrev exec --no-startup-id playerctl previous && $refresh_i3status +# bindsym $mod+u exec --no-startup-id setxkbmap -layout us -option caps:super +# bindsym $mod+n exec --no-startup-id setxkbmap -layout fi -option caps:super bindsym Print exec --no-startup-id flameshot gui for_window [class="love"] floating enable for_window [instance="Godot_Engine"] floating enable +for_window [class="steam"] floating enable gaps outer 0 gaps inner 2 @@ -113,6 +116,11 @@ bindsym $mod+Shift+z move container to workspace number $ws9 bindsym $mod+Shift+x move container to workspace number $ws10 bindsym $mod+Shift+c move container to workspace number $ws8 +bindsym $mod+braceleft focus output left +bindsym $mod+braceright focus output right +bindsym $mod+shift+braceleft move workspace to output left +bindsym $mod+shift+braceright move workspace to output right + bindsym $mod+Shift+t reload bindsym $mod+Shift+r restart bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -B 'Yes, exit i3' 'i3-msg exit'" diff --git a/.config/nvim/init.lua b/.config/nvim/init.lua index aeeaee0..3367b6f 100644 --- a/.config/nvim/init.lua +++ b/.config/nvim/init.lua @@ -1,4 +1,4 @@ require("opt") require("map") require("plugin") - +require("neovide") diff --git a/.config/nvim/lua/neovide.lua b/.config/nvim/lua/neovide.lua new file mode 100644 index 0000000..da710bb --- /dev/null +++ b/.config/nvim/lua/neovide.lua @@ -0,0 +1,9 @@ +if not vim.g.neovide then + return +end + +vim.o.guifont = "MartianMono Nerd Font Mono" +vim.g.neovide_cursor_animation_length = 0 +vim.g.neovide_cursor_trail_size = 0 +vim.g.neovide_cursor_animate_in_insert_mode = false +vim.g.neovide_cursor_animate_command_line = false diff --git a/.config/nvim/lua/plugin/packer.lua b/.config/nvim/lua/plugin/packer.lua index bf93cd3..a5fe04c 100644 --- a/.config/nvim/lua/plugin/packer.lua +++ b/.config/nvim/lua/plugin/packer.lua @@ -4,6 +4,7 @@ return require("packer").startup(function(use) use {"andweeb/presence.nvim"} use {"hobby-engine/hobby-script-vim"} + use {"~/den_vim"} use { "nvim-telescope/telescope.nvim", @@ -12,7 +13,6 @@ return require("packer").startup(function(use) }, } - use {"Yggdroot/indentLine"} use {"windwp/nvim-autopairs"} use { diff --git a/.config/nvim/lua/plugin/setup.lua b/.config/nvim/lua/plugin/setup.lua index c0db20d..6993f30 100644 --- a/.config/nvim/lua/plugin/setup.lua +++ b/.config/nvim/lua/plugin/setup.lua @@ -97,6 +97,23 @@ require("nvim-treesitter.configs").setup { indent = { enable = true }, } +vim.filetype.add({ + extension = { + c3 = "c3", + c3i = "c3", + c3t = "c3", + }, +}) + +local parser_config = require("nvim-treesitter.parsers").get_parser_configs() +parser_config.c3 = { + install_info = { + url = "https://github.com/c3lang/tree-sitter-c3", + files = {"src/parser.c", "src/scanner.c"}, + branch = "main", + }, +} + do local builtin = require("telescope.builtin") require("telescope").setup { diff --git a/.config/picom/picom.conf b/.config/picom/picom.conf index dbf5de7..864e66e 100644 --- a/.config/picom/picom.conf +++ b/.config/picom/picom.conf @@ -1,4 +1,4 @@ -shadow = true; +shadow = false; shadow-radius = 15; shadow-offset-x = -15; shadow-offset-y = -15; diff --git a/.config/polybar/config.ini b/.config/polybar/config.ini index a2e85ea..694ae4b 100644 --- a/.config/polybar/config.ini +++ b/.config/polybar/config.ini @@ -25,12 +25,10 @@ secondary = #991133 alert = #A54242 disabled = #707880 -[bar/bar1] +[bar/primary] width = 100% height = 20pt -; dpi = 96 - background = ${colors.background} foreground = ${colors.foreground} @@ -42,6 +40,7 @@ border-size = 0pt padding-left = 0 padding-right = 1 +monitor = HDMI-A-1 module-margin = 1 bottom = true @@ -60,6 +59,40 @@ cursor-scroll = ns-resize enable-ipc = true +[bar/secondary] +width = 100% +height = 20pt + +background = ${colors.background} +foreground = ${colors.foreground} + +line-size = 3pt + +border-color = #00000000 +border-size = 0pt + +padding-left = 0 +padding-right = 1 + +monitor = DVI-D-0 +module-margin = 1 + +bottom = true + +separator = : +separator-foreground = ${colors.disabled} + +font-0 = MartianMono Nerd Font:size=11:weight=Medium;1 + +modules-left = user xworkspaces +modules-center = +modules-right = xwindow time + +cursor-click = pointer +cursor-scroll = ns-resize + +enable-ipc = true + [module/user] type = custom/script exec = "echo `whoami`@`hostname`" @@ -92,14 +125,14 @@ label-urgent-padding = 1 label-empty = %name% label-empty-padding = 1 -pin-workspaces = false -group-by-monitor = false +pin-workspaces = true +group-by-monitor = true enable-click = false enable-scroll = false [module/xwindow] type = internal/xwindow -label = %title:0:60:...% +label = %title:0:50:...% [module/filesystem] type = internal/fs diff --git a/.config/polybar/launch.sh b/.config/polybar/launch.sh index 44eb462..83cf90a 100644 --- a/.config/polybar/launch.sh +++ b/.config/polybar/launch.sh @@ -7,7 +7,9 @@ polybar-msg cmd quit # killall -q polybar # Launch bar1 and bar2 -echo "---" | tee -a /tmp/polybar1.log -polybar bar1 2>&1 | tee -a /tmp/polybar1.log & disown +# echo "---" | tee -a /tmp/polybar1.log +# polybar bar1 2>&1 | tee -a /tmp/polybar1.log & disown +polybar --reload primary & +polybar --reload secondary & echo "Bars launched..." |
