summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--_linux/hypr/hyprland.conf6
-rw-r--r--_linux/waybar/config3
-rw-r--r--nvim/init.lua22
3 files changed, 25 insertions, 6 deletions
diff --git a/_linux/hypr/hyprland.conf b/_linux/hypr/hyprland.conf
index 1671db5..609a778 100644
--- a/_linux/hypr/hyprland.conf
+++ b/_linux/hypr/hyprland.conf
@@ -177,10 +177,8 @@ bind = $mainMod SHIFT, 8, movetoworkspace, 8
bind = $mainMod SHIFT, 9, movetoworkspace, 9
bind = $mainMod SHIFT, 0, movetoworkspace, 10
-# Example special workspace (scratchpad)
-# i have no idea what this does and why you would want to use it
-#bind = $mainMod, S, togglespecialworkspace, magic
-#bind = $mainMod SHIFT, S, movetoworkspace, special:magic
+# move a window to the shadow realm (if it can't be closed)
+bind = $mainMod, F4, movetoworkspacesilent, special
# Move/resize windows with mainMod + LMB/RMB and dragging
bindm = $mainMod, mouse:272, movewindow
diff --git a/_linux/waybar/config b/_linux/waybar/config
index b0fb826..7c40c44 100644
--- a/_linux/waybar/config
+++ b/_linux/waybar/config
@@ -113,7 +113,8 @@
"hyprland/window": {
"format": "{}",
// "max-length": 30,
- "tooltip": false
+ "tooltip": false,
+ "separate-outputs": true
},
"hyprland/workspaces": {
diff --git a/nvim/init.lua b/nvim/init.lua
index 7393a9a..7cd854a 100644
--- a/nvim/init.lua
+++ b/nvim/init.lua
@@ -69,13 +69,33 @@ vim.keymap.set("n", "<C-j>", function()
local col = vim.api.nvim_win_get_cursor(0)[2]
local char = vim.api.nvim_get_current_line():sub(col + 1, col + 1)
- if (char == " ") then
+ if char == " " then
vim.fn.feedkeys(vim.api.nvim_replace_termcodes("\"_xi<CR><Esc>f ", true, true, true))
else
vim.fn.feedkeys(vim.api.nvim_replace_termcodes("i<CR><Esc>f ", true, true, true))
end
end)
+vim.keymap.set("n", "<leader>tt", function()
+ vim.opt.expandtab = not vim.opt.expandtab
+end)
+
+-- what not using lualine does to a mf
+vim.cmd([[set statusline=%<%f\ %h%m%r%=%-14.(%l,%c%V%)\ %P]]) --default
+vim.cmd([[set statusline+=\ ft=%{&filetype}]])
+vim.cmd([[set statusline+=\ ff=%{&fileformat}]])
+vim.cmd([[set statusline+=\ spaces=%{&expandtab}]])
+
+-- vim.opt.statusline.append(function()
+-- return "test"
+-- end)
+-- vim.keymap.set("n", "<leader>ptt", function()
+-- if vim.opt.expandtab then
+-- vim.print("TABS")
+-- else
+-- vim.print("SPACES")
+-- end
+-- end)
-- colorscheme