From 6669361098173f42ba50c4574aa39c035b0504b1 Mon Sep 17 00:00:00 2001 From: Marco Thomas Date: Sun, 13 Feb 2022 23:14:02 +0100 Subject: [PATCH] Update small things --- README.org | 1 - files/dunst/.config/dunst/dunstrc | 6 ++--- files/emacs/.emacs.d/init.org | 7 ++++++ files/i3/.config/i3/config | 4 +--- files/polybar/.config/polybar/config | 4 ++-- files/rofi/.config/rofi/confirm.rasi | 34 ++++------------------------ files/x11/.profile | 6 ++--- files/zsh/.zshrc | 4 ++-- org/presentations.org | 1 + scripts/powermenu.sh | 13 ----------- 10 files changed, 23 insertions(+), 57 deletions(-) diff --git a/README.org b/README.org index 7df0dda..b834168 100644 --- a/README.org +++ b/README.org @@ -32,7 +32,6 @@ It will link all dotfiles to their correct place. + polybar + rofi + xlock -+ picom (no settings, just for compositing) ** main programs + discord + spotify diff --git a/files/dunst/.config/dunst/dunstrc b/files/dunst/.config/dunst/dunstrc index ff19a93..b3b9f89 100644 --- a/files/dunst/.config/dunst/dunstrc +++ b/files/dunst/.config/dunst/dunstrc @@ -6,14 +6,14 @@ follow = mouse width = 400 origin = "top-center" - offset = "0x45" + offset = "0x55" indicate_hidden = yes shrink = no separator_height = 1 transparency = 0 padding = 10 horizontal_padding = 10 - frame_width = 0 + frame_width = 2 frame_color = "#eeeeee" separator_color = frame sort = yes @@ -49,7 +49,7 @@ # Misc always_run_script = true - corner_radius = 0 + corner_radius = 10 force_xinerama = false mouse_left_click = do_action mouse_middle_click = close_all diff --git a/files/emacs/.emacs.d/init.org b/files/emacs/.emacs.d/init.org index 809a334..34328af 100644 --- a/files/emacs/.emacs.d/init.org +++ b/files/emacs/.emacs.d/init.org @@ -300,6 +300,13 @@ Show me relative line numbers, when in =normal= mode and absolute ones, when in (add-hook 'evil-insert-state-exit-hook #'noct:relative) #+end_src +Show me both line and column counter in my bar. +#+begin_src emacs-lisp :tangle yes +(line-number-mode) +(column-number-mode) +#+end_src + + *** Theme Setting my beloved =ayu= light theme with some icons. #+begin_src emacs-lisp :tangle yes diff --git a/files/i3/.config/i3/config b/files/i3/.config/i3/config index 5122240..dbcca4e 100644 --- a/files/i3/.config/i3/config +++ b/files/i3/.config/i3/config @@ -146,9 +146,8 @@ for_window [class="TelegramDesktop"] move to workspace $ws3 for_window [class="Spotify"] move to workspace $ws4 for_window [class="Thunderbird"] move to workspace $ws9 -# border +# borders smart_borders on -smart_gaps on # gaps gaps inner 0 @@ -162,6 +161,5 @@ exec --no-startup-id pasystray exec --no-startup-id keepassxc exec --no-startup-id seafile-applet exec --no-startup-id fcitx5 -exec --no-startup-id picom exec --no-startup-id libinput-gestures-setup start exec --no-startup-id redshift-gtk -l 48.13333:11.56667 diff --git a/files/polybar/.config/polybar/config b/files/polybar/.config/polybar/config index 10e90fa..8f8b9a7 100644 --- a/files/polybar/.config/polybar/config +++ b/files/polybar/.config/polybar/config @@ -1,6 +1,6 @@ [colors] white = #ffffff -black = #ee222222 +black = #222222 green = #a6cc70 red = #ff3333 yellow = #e7c547 @@ -19,7 +19,7 @@ scroll-down = i3wm-wsnext fixed-center = true width = 100% -height = 40 +height = 50px dpi = ${xrdb:Xft.dpi:-1} diff --git a/files/rofi/.config/rofi/confirm.rasi b/files/rofi/.config/rofi/confirm.rasi index c953ae5..84ea10b 100644 --- a/files/rofi/.config/rofi/confirm.rasi +++ b/files/rofi/.config/rofi/confirm.rasi @@ -1,32 +1,6 @@ -/* Confirm Dialog */ - -colors { - background: #425775ff; - background-alt: #475C7Bff; - foreground: #ffffffcc; - border: #FDBB6Dff; - border-alt: #DA717Fff; - selected: #685E79ff; - urgent: #DA4453FF; -} - -* { - background-color: @background; - text-color: @foreground; - font: "JuliaMono 11"; -} - window { - width: 225px; - padding: 25px; - border: 1px; - border-radius: 0px; - border-color: @border; - location: center; - y-offset: -2em; -} - -entry { - expand: true; - text-color: @border; + width: 250; + padding: 1%; + location: center; + y-offset: -2em; } diff --git a/files/x11/.profile b/files/x11/.profile index 42785ed..61d3afe 100755 --- a/files/x11/.profile +++ b/files/x11/.profile @@ -33,6 +33,6 @@ export SDL_IM_MODULE='ibus' export XMODIFIERS='@im=ibus' export WINIT_UNIX_BACKEND=x11 -# ssh agent -eval $(systemctl --user show-environment | grep SSH_AUTH_SOCK) -export SSH_AUTH_SOCK +# ssh agent - requires gnome keyring +# eval $(systemctl --user show-environment | grep SSH_AUTH_SOCK) +# export SSH_AUTH_SOCK diff --git a/files/zsh/.zshrc b/files/zsh/.zshrc index 9a81245..d2821ec 100644 --- a/files/zsh/.zshrc +++ b/files/zsh/.zshrc @@ -54,8 +54,8 @@ alias rm='rm -i' # Ask before removal alias cp='cp -i' # Ask before removal alias mv='mv -i' # Ask before removal -alias palmreject='xinput set-prop 12 340 1' -alias palmaccept='xinput set-prop 12 340 0' +alias palmreject='xinput set-prop 19 340 1' +alias palmaccept='xinput set-prop 19 340 0' alias nssh='SSH_AUTH_SOCK= ssh' alias cpu='watch -n.1 "grep \"^[c]pu MHz\" /proc/cpuinfo"' diff --git a/org/presentations.org b/org/presentations.org index e385f98..abf4a81 100644 --- a/org/presentations.org +++ b/org/presentations.org @@ -4,6 +4,7 @@ #+LANGUAGE: de #+OPTIONS: toc:t H:2 #+BEAMER_THEME: Singapore +#+BEAMER_COLOR_THEME: rose #+COLUMNS: %40ITEM %10BEAMER_env(Env) %9BEAMER_envargs(Env Args) %4BEAMER_col(Col) %10BEAMER_extra(Extra) diff --git a/scripts/powermenu.sh b/scripts/powermenu.sh index 44cff2a..4d0f277 100755 --- a/scripts/powermenu.sh +++ b/scripts/powermenu.sh @@ -21,11 +21,6 @@ confirm_exit() { -theme $dir/confirm.rasi } -# Message -msg() { - rofi -theme "$dir/message.rasi" -e "Available Options - yes / y / no / n" -} - # Variable passed to rofi options="$lock\n$shutdown\n$reboot\n$suspend\n$logout" @@ -37,8 +32,6 @@ case $chosen in systemctl poweroff elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then exit 0 - else - msg fi ;; $reboot) @@ -47,8 +40,6 @@ case $chosen in systemctl reboot elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then exit 0 - else - msg fi ;; $lock) @@ -60,8 +51,6 @@ case $chosen in systemctl suspend elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then exit 0 - else - msg fi ;; $logout) @@ -70,8 +59,6 @@ case $chosen in i3-msg exit elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then exit 0 - else - msg fi ;; esac