Update small things

This commit is contained in:
Marco Thomas
2022-02-13 23:14:02 +01:00
parent f3348e4769
commit 6669361098
10 changed files with 23 additions and 57 deletions

View File

@@ -32,7 +32,6 @@ It will link all dotfiles to their correct place.
+ polybar + polybar
+ rofi + rofi
+ xlock + xlock
+ picom (no settings, just for compositing)
** main programs ** main programs
+ discord + discord
+ spotify + spotify

View File

@@ -6,14 +6,14 @@
follow = mouse follow = mouse
width = 400 width = 400
origin = "top-center" origin = "top-center"
offset = "0x45" offset = "0x55"
indicate_hidden = yes indicate_hidden = yes
shrink = no shrink = no
separator_height = 1 separator_height = 1
transparency = 0 transparency = 0
padding = 10 padding = 10
horizontal_padding = 10 horizontal_padding = 10
frame_width = 0 frame_width = 2
frame_color = "#eeeeee" frame_color = "#eeeeee"
separator_color = frame separator_color = frame
sort = yes sort = yes
@@ -49,7 +49,7 @@
# Misc # Misc
always_run_script = true always_run_script = true
corner_radius = 0 corner_radius = 10
force_xinerama = false force_xinerama = false
mouse_left_click = do_action mouse_left_click = do_action
mouse_middle_click = close_all mouse_middle_click = close_all

View File

@@ -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) (add-hook 'evil-insert-state-exit-hook #'noct:relative)
#+end_src #+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 *** Theme
Setting my beloved =ayu= light theme with some icons. Setting my beloved =ayu= light theme with some icons.
#+begin_src emacs-lisp :tangle yes #+begin_src emacs-lisp :tangle yes

View File

@@ -146,9 +146,8 @@ for_window [class="TelegramDesktop"] move to workspace $ws3
for_window [class="Spotify"] move to workspace $ws4 for_window [class="Spotify"] move to workspace $ws4
for_window [class="Thunderbird"] move to workspace $ws9 for_window [class="Thunderbird"] move to workspace $ws9
# border # borders
smart_borders on smart_borders on
smart_gaps on
# gaps # gaps
gaps inner 0 gaps inner 0
@@ -162,6 +161,5 @@ exec --no-startup-id pasystray
exec --no-startup-id keepassxc exec --no-startup-id keepassxc
exec --no-startup-id seafile-applet exec --no-startup-id seafile-applet
exec --no-startup-id fcitx5 exec --no-startup-id fcitx5
exec --no-startup-id picom
exec --no-startup-id libinput-gestures-setup start exec --no-startup-id libinput-gestures-setup start
exec --no-startup-id redshift-gtk -l 48.13333:11.56667 exec --no-startup-id redshift-gtk -l 48.13333:11.56667

View File

@@ -1,6 +1,6 @@
[colors] [colors]
white = #ffffff white = #ffffff
black = #ee222222 black = #222222
green = #a6cc70 green = #a6cc70
red = #ff3333 red = #ff3333
yellow = #e7c547 yellow = #e7c547
@@ -19,7 +19,7 @@ scroll-down = i3wm-wsnext
fixed-center = true fixed-center = true
width = 100% width = 100%
height = 40 height = 50px
dpi = ${xrdb:Xft.dpi:-1} dpi = ${xrdb:Xft.dpi:-1}

View File

@@ -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 { window {
width: 225px; width: 250;
padding: 25px; padding: 1%;
border: 1px; location: center;
border-radius: 0px; y-offset: -2em;
border-color: @border;
location: center;
y-offset: -2em;
}
entry {
expand: true;
text-color: @border;
} }

View File

@@ -33,6 +33,6 @@ export SDL_IM_MODULE='ibus'
export XMODIFIERS='@im=ibus' export XMODIFIERS='@im=ibus'
export WINIT_UNIX_BACKEND=x11 export WINIT_UNIX_BACKEND=x11
# ssh agent # ssh agent - requires gnome keyring
eval $(systemctl --user show-environment | grep SSH_AUTH_SOCK) # eval $(systemctl --user show-environment | grep SSH_AUTH_SOCK)
export SSH_AUTH_SOCK # export SSH_AUTH_SOCK

View File

@@ -54,8 +54,8 @@ alias rm='rm -i' # Ask before removal
alias cp='cp -i' # Ask before removal alias cp='cp -i' # Ask before removal
alias mv='mv -i' # Ask before removal alias mv='mv -i' # Ask before removal
alias palmreject='xinput set-prop 12 340 1' alias palmreject='xinput set-prop 19 340 1'
alias palmaccept='xinput set-prop 12 340 0' alias palmaccept='xinput set-prop 19 340 0'
alias nssh='SSH_AUTH_SOCK= ssh' alias nssh='SSH_AUTH_SOCK= ssh'
alias cpu='watch -n.1 "grep \"^[c]pu MHz\" /proc/cpuinfo"' alias cpu='watch -n.1 "grep \"^[c]pu MHz\" /proc/cpuinfo"'

View File

@@ -4,6 +4,7 @@
#+LANGUAGE: de #+LANGUAGE: de
#+OPTIONS: toc:t H:2 #+OPTIONS: toc:t H:2
#+BEAMER_THEME: Singapore #+BEAMER_THEME: Singapore
#+BEAMER_COLOR_THEME: rose
#+COLUMNS: %40ITEM %10BEAMER_env(Env) %9BEAMER_envargs(Env Args) %4BEAMER_col(Col) %10BEAMER_extra(Extra) #+COLUMNS: %40ITEM %10BEAMER_env(Env) %9BEAMER_envargs(Env Args) %4BEAMER_col(Col) %10BEAMER_extra(Extra)

View File

@@ -21,11 +21,6 @@ confirm_exit() {
-theme $dir/confirm.rasi -theme $dir/confirm.rasi
} }
# Message
msg() {
rofi -theme "$dir/message.rasi" -e "Available Options - yes / y / no / n"
}
# Variable passed to rofi # Variable passed to rofi
options="$lock\n$shutdown\n$reboot\n$suspend\n$logout" options="$lock\n$shutdown\n$reboot\n$suspend\n$logout"
@@ -37,8 +32,6 @@ case $chosen in
systemctl poweroff systemctl poweroff
elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then
exit 0 exit 0
else
msg
fi fi
;; ;;
$reboot) $reboot)
@@ -47,8 +40,6 @@ case $chosen in
systemctl reboot systemctl reboot
elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then
exit 0 exit 0
else
msg
fi fi
;; ;;
$lock) $lock)
@@ -60,8 +51,6 @@ case $chosen in
systemctl suspend systemctl suspend
elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then
exit 0 exit 0
else
msg
fi fi
;; ;;
$logout) $logout)
@@ -70,8 +59,6 @@ case $chosen in
i3-msg exit i3-msg exit
elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then
exit 0 exit 0
else
msg
fi fi
;; ;;
esac esac