diff options
author | jakobst1n <jakob.stendahl@outlook.com> | 2024-02-12 18:00:19 +0100 |
---|---|---|
committer | jakobst1n <jakob.stendahl@outlook.com> | 2024-02-12 18:00:19 +0100 |
commit | bf5df2e802df4a46378855fd7ef0b0a4979d8c27 (patch) | |
tree | 585452940d94790a10dcce5cd94ffe5d3d1c9b03 /linux | |
parent | da4f994bec2f9a0927195c7bbc84d44f4b8384fb (diff) | |
download | dotfiles-bf5df2e802df4a46378855fd7ef0b0a4979d8c27.tar.gz dotfiles-bf5df2e802df4a46378855fd7ef0b0a4979d8c27.zip |
Improve some config stuff
Diffstat (limited to 'linux')
-rw-r--r-- | linux/sway/autostart.m4 | 3 | ||||
-rw-r--r-- | linux/sway/config.m4 | 3 | ||||
-rw-r--r-- | linux/sway/hid.m4 | 4 | ||||
-rw-r--r-- | linux/tmux.conf.m4 | 11 |
4 files changed, 8 insertions, 13 deletions
diff --git a/linux/sway/autostart.m4 b/linux/sway/autostart.m4 index 68045e2..828fe06 100644 --- a/linux/sway/autostart.m4 +++ b/linux/sway/autostart.m4 @@ -1,10 +1,9 @@ -m4_include(`system.m4')m4_dnl # Fix GTK+ application slow start exec dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY SWAYSOCK # screen locking m4_changequote({, })m4_dnl -m4_ifelse(SYSID, {1}, {m4_dnl +m4_ifelse(DT_SYSID, {1}, {m4_dnl #exec swayidle -w \ # timeout 300 'swaymsg "output * dpms off"' \ # timeout 3600 physlock \ diff --git a/linux/sway/config.m4 b/linux/sway/config.m4 index 60f9d06..cba1ae2 100644 --- a/linux/sway/config.m4 +++ b/linux/sway/config.m4 @@ -1,4 +1,3 @@ -m4_include(`system.m4')m4_dnl include autostart include hid @@ -48,7 +47,7 @@ bindsym $Mod+Return exec alacritty bindsym $Mod+w exec firefox bindsym $Mod+f exec thunar bindsym $Mod+c exec swaync-client -t -bindsym Mod1+l exec m4_ifelse(SYSID, `2', `nwg-lock', physlock) +bindsym Mod1+l exec m4_ifelse(DT_SYSID, `2', `nwg-lock', physlock) bindsym $Mod+d exec wofi --show=drun # Exit menu diff --git a/linux/sway/hid.m4 b/linux/sway/hid.m4 index 762be21..b420f94 100644 --- a/linux/sway/hid.m4 +++ b/linux/sway/hid.m4 @@ -1,7 +1,5 @@ -m4_include(`system.m4')m4_dnl - output eDP-1 { - scale m4_ifelse(SYSID, `1', `1.4', `1.0') + scale m4_ifelse(DT_SYSID, `1', `1.4', `1.0') } input "type:keyboard" { diff --git a/linux/tmux.conf.m4 b/linux/tmux.conf.m4 index 90df21a..f88153a 100644 --- a/linux/tmux.conf.m4 +++ b/linux/tmux.conf.m4 @@ -1,4 +1,3 @@ -m4_include(`system.m4')m4_dnl # -- general ------------------------------------------------------------------- #set -g default-terminal "screen-256color" #set -g default-terminal "screen-256color-bce" @@ -23,7 +22,7 @@ set -g display-time 1000 # slightly longer status messages display time set -g status-interval 10 # redraw status linebg every 10 seconds set-option -g history-limit 5000 -set-option -g default-shell DEFAULT_SHELL +set-option -g default-shell DT_SHELL # -- navigation ---------------------------------------------------------------- @@ -31,7 +30,7 @@ set-option -g default-shell DEFAULT_SHELL setw -g monitor-activity on set -g visual-activity off -m4_ifelse(DOTFILES_TYPE, `local', `m4_dnl +m4_ifelse(DT_DOTFILES_TYPE, `local', `m4_dnl unbind C-b set -g prefix C-a bind C-a send-prefix @@ -63,7 +62,7 @@ set -g mouse on bind-key = set-window-option synchronize-panes # -- macros -------------------------------------------------------------------- -bind-key s send-keys "GIT_USER <GIT_EMAIL>" +bind-key s send-keys "DT_GIT_USER <DT_GIT_EMAIL>" # -- vim-tmux-navigator -------------------------------------------------------- # Smart pane switching with awareness of Vim splits. @@ -95,7 +94,7 @@ bind -n M-C-w display-popup -E "nvim -c VimwikiMakeDiaryNote -c Calendar -c 'win bind -n M-C-i display-popup -E "nvim -c 'e ~/Nextcloud/wiki/I45/Hendelser.md' -c 'call append(1, strftime(\"- **%d.%m.%Y (%T)** - **\"))' -c 'call append(2, \"\")' -c 'execute \"normal! 2GA\"'" # -- Theme -------------------------------------------------------------------- -m4_ifelse(DOTFILES_TYPE, `local', `m4_dnl +m4_ifelse(DT_DOTFILES_TYPE, `local', `m4_dnl set -g status-justify left set -g status-interval 2 set -g status-position bottom @@ -118,7 +117,7 @@ setw -g window-status-bell-style "bg=colour23,fg=colour15" #setw -g window-status-activity-style "bg=colour23,fg=colour15" setw -g window-status-activity-style "bg=colour243,fg=colour15" ')m4_dnl -m4_ifelse(DOTFILES_TYPE, `remote', `m4_dnl +m4_ifelse(DT_DOTFILES_TYPE, `remote', `m4_dnl set -g status-bg "purple" set -g status-fg "white" ')m4_dnl |