From a723f2607275615c0dbc66ad0b6116153f4cb078 Mon Sep 17 00:00:00 2001 From: yosh Date: Tue, 12 Sep 2023 23:31:42 -0400 Subject: [PATCH] urxvtc and other shit --- .config/awesome/rc.lua | 4 ++-- .config/mimix/mimix.conf | 2 +- .yash_profile | 8 +++++--- 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/.config/awesome/rc.lua b/.config/awesome/rc.lua index ecc3c02..6302f94 100644 --- a/.config/awesome/rc.lua +++ b/.config/awesome/rc.lua @@ -45,7 +45,7 @@ local theme = "luma" beautiful.init(gears.filesystem.get_configuration_dir() .. "themes/" .. theme .. "/theme.lua") -- This is used later as the default terminal and editor to run. -terminal = "urxvt" +terminal = "urxvtc" editor = os.getenv("EDITOR") or "vim" editor_cmd = terminal .. " -e " .. editor tag_names = { "I", "II", "III", "IV", "V", "VI", "VII", "VIII", "IX" } @@ -380,7 +380,7 @@ awful.key({ modkey, "Shift" }, "s", function () awful.spawn("ffrec") end, awful.key({ modkey }, "c", function () awful.spawn("shclip-menu") end, { description = "clipboard menu", group = "awesome" }), -awful.key({ modkey }, "p", function() awful.spawn("urxvt -e n") end, +awful.key({ modkey }, "p", function() awful.spawn(terminal .. " -e n") end, { description = "file manager", group = "launcher" }), awful.key({ }, "XF86AudioPrev", function() awful.spawn("mpc prev") end, diff --git a/.config/mimix/mimix.conf b/.config/mimix/mimix.conf index be25aaf..4f4b8e3 100644 --- a/.config/mimix/mimix.conf +++ b/.config/mimix/mimix.conf @@ -1,4 +1,4 @@ -TERMINAL: urxvt +TERMINAL: urxvtc MENU: fzfmenu diff --git a/.yash_profile b/.yash_profile index abe979a..06ba9ea 100644 --- a/.yash_profile +++ b/.yash_profile @@ -3,7 +3,7 @@ # xdg yash loadpath export YASH_LOADPATH="$XDG_CONFIG_HOME/yash:$YASH_LOADPATH" -export HISTFILE="$XDG_CONFIG_HOME/yash/history" +export HISTFILE="$XDG_DATA_HOME/yash/history" # xdg support shit {{{ export INPUTRC="$XDG_CONFIG_HOME/inputrc" @@ -24,6 +24,7 @@ export GOPATH="$XDG_DATA_HOME/go" export GOMODCACHE="$XDG_CACHE_HOME/go/mod" export SQLITE_HISTORY="$XDG_RUNTIME_DIR/sqlite_history" export PSQL_HISTORY="$XDG_RUNTIME_DIR/psql_history" +export RXVT_SOCKET="$XDG_RUNTIME_DIR/urxvt-$(uname -n)" # }}} # other config {{{ @@ -31,7 +32,8 @@ export PATH="$HOME/.local/bin:$HOME/.local/scripts:$PATH" export MANPATH="$XDG_DATA_HOME/man:" export EDITOR="vim" export VISUAL="vim" -export TERMINAL="urxvt" +export TERMINAL="urxvtc" +export FLOATING_TERMINAL="urxvtc -name FLOATING_TERMINAL" export QT_STYLE_OVERRIDE=kvantum # }}} @@ -43,7 +45,7 @@ export LESS='-Ri' # }}} # fzf {{{ -export FZF_DEFAULT_COMMAND="fd -t f --strip-cwd-prefix" +export FZF_DEFAULT_COMMAND='bfs -nohidden -type f -printf "%P\n"' export FZF_DEFAULT_OPTS=' --color "fg:7,bg:-1,hl:12,fg+:11,bg+:0,hl+:13,info:9,border:0,prompt:4,pointer:10,marker:2,spinner:13,header:7" --border -e