From 547daf4000b6f510c5bd001c110a23c63b369e56 Mon Sep 17 00:00:00 2001 From: Michel Date: Fri, 6 Dec 2024 23:14:05 +0100 Subject: [PATCH] Update autocmds and keybinds --- .config/i3/config.d/keybinds | 10 +++------- .config/nvim-notes/lua/config/autocmds.lua | 2 +- .../xfce4/xfconf/xfce-perchannel-xml/thunar.xml | 15 +++++++++++---- 3 files changed, 15 insertions(+), 12 deletions(-) diff --git a/.config/i3/config.d/keybinds b/.config/i3/config.d/keybinds index ce3e6bd..f4471a4 100644 --- a/.config/i3/config.d/keybinds +++ b/.config/i3/config.d/keybinds @@ -29,7 +29,7 @@ floating_modifier $mod tiling_drag modifier titlebar # start a terminal -bindsym $mod+Return exec i3-sensible-terminal +bindsym $mod+Return exec kitty # kill focused window bindsym $mod+q kill @@ -55,12 +55,6 @@ bindsym $mod+Shift+Down move down bindsym $mod+Shift+Up move up bindsym $mod+Shift+Right move right -# split in horizontal orientation -bindsym $mod+u split h - -# split in vertical orientation -bindsym $mod+v split v - # enter fullscreen mode for the focused container bindsym $mod+f fullscreen toggle @@ -139,3 +133,5 @@ bindsym $mod+n exec betterlockscreen -l bindsym Print exec --no-startup-id spectacle bindsym $mod+Shift+a move workspace to output next + +bindsym $mod+v exec --no-startup-id xfce4-clipman-history diff --git a/.config/nvim-notes/lua/config/autocmds.lua b/.config/nvim-notes/lua/config/autocmds.lua index 6dbe12a..8a02595 100644 --- a/.config/nvim-notes/lua/config/autocmds.lua +++ b/.config/nvim-notes/lua/config/autocmds.lua @@ -12,7 +12,7 @@ vim.api.nvim_create_autocmd("BufWritePost", { local commitMessage = get_file_name(args.file) .. "-" .. os.date("%m_%B_%Y") - os.execute("git add " .. args.file) + os.execute('git add "' .. args.file .. '"') local commitCommand = 'git commit -m "' .. commitMessage .. '" &> /dev/null' local commitResult = os.execute(commitCommand) diff --git a/.config/xfce4/xfconf/xfce-perchannel-xml/thunar.xml b/.config/xfce4/xfconf/xfce-perchannel-xml/thunar.xml index 592c8d7..b4c0b74 100644 --- a/.config/xfce4/xfconf/xfce-perchannel-xml/thunar.xml +++ b/.config/xfce4/xfconf/xfce-perchannel-xml/thunar.xml @@ -1,11 +1,18 @@ - + - - - + + + + + + + + + +