Move to solarized light and wayland gnome
This commit is contained in:
@@ -1,76 +0,0 @@
|
||||
# __ _ _ _ _
|
||||
# / /_ _| | __ _ ___ _ __(_) |_| |_ _ _
|
||||
# / / _` | |/ _` |/ __| '__| | __| __| | | |
|
||||
# _ / / (_| | | (_| | (__| | | | |_| |_| |_| |
|
||||
# (_)_/ \__,_|_|\__,_|\___|_| |_|\__|\__|\__, |
|
||||
# |___/
|
||||
#
|
||||
# ~ M. Thomas
|
||||
|
||||
env:
|
||||
TERM: alacritty
|
||||
|
||||
window:
|
||||
title: alacritty
|
||||
dynamic_title: true
|
||||
padding:
|
||||
x: 20
|
||||
y: 20
|
||||
dynamic_padding: false
|
||||
|
||||
font:
|
||||
size: 10
|
||||
normal:
|
||||
family: JuliaMono
|
||||
style: Regular
|
||||
|
||||
colors:
|
||||
primary:
|
||||
background: '#ffffff'
|
||||
foreground: '#5c6773'
|
||||
|
||||
normal:
|
||||
black: '#000000'
|
||||
red: '#FF3333'
|
||||
green: '#A6CC70'
|
||||
yellow: '#e7c547'
|
||||
blue: '#55b4d4'
|
||||
magenta: '#A37ACC'
|
||||
cyan: '#95E6CB'
|
||||
white: '#C7C7C7'
|
||||
|
||||
bright:
|
||||
black: '#686868'
|
||||
red: '#F27983'
|
||||
green: '#BAE67E'
|
||||
yellow: '#FFCC66'
|
||||
blue: '#5CCFE6'
|
||||
magenta: '#D4BFFF'
|
||||
cyan: '#95E6CB'
|
||||
white: '#FFFFFF'
|
||||
|
||||
background_opacity: 1
|
||||
|
||||
selection:
|
||||
save_to_clipboard: true
|
||||
|
||||
cursor:
|
||||
# Values for `style`:
|
||||
# - ▇ Block
|
||||
# - _ Underline
|
||||
# - | Beam
|
||||
style: Block
|
||||
|
||||
unfocused_hollow: true
|
||||
|
||||
live_config_reload: true
|
||||
|
||||
mouse:
|
||||
hide_when_typing: true
|
||||
|
||||
key_bindings:
|
||||
- { key: V, mods: Control|Shift, action: Paste }
|
||||
- { key: C, mods: Control|Shift, action: Copy }
|
||||
- { key: Key0, mods: Control, action: ResetFontSize }
|
||||
- { key: Equals, mods: Control, action: IncreaseFontSize }
|
||||
- { key: Minus, mods: Control, action: DecreaseFontSize }
|
||||
@@ -1,72 +0,0 @@
|
||||
[global]
|
||||
|
||||
# Window
|
||||
|
||||
monitor = 0
|
||||
follow = mouse
|
||||
width = 400
|
||||
origin = "top-center"
|
||||
offset = "0x55"
|
||||
indicate_hidden = yes
|
||||
shrink = no
|
||||
separator_height = 1
|
||||
transparency = 0
|
||||
padding = 10
|
||||
horizontal_padding = 10
|
||||
frame_width = 2
|
||||
frame_color = "#eeeeee"
|
||||
separator_color = frame
|
||||
sort = yes
|
||||
idle_threshold = 120
|
||||
|
||||
# Text
|
||||
|
||||
font = Roboto 13
|
||||
line_height = 04
|
||||
markup = full
|
||||
format = "<span><b>%s %p</b></span>\n%b"
|
||||
alignment = left
|
||||
show_age_threshold = 60
|
||||
word_wrap = yes
|
||||
ellipsize = middle
|
||||
ignore_newline = no
|
||||
stack_duplicates = true
|
||||
hide_duplicate_count = false
|
||||
show_indicators = yes
|
||||
|
||||
# Icons
|
||||
|
||||
icon_position = left
|
||||
min_icon_size = 16
|
||||
max_icon_size = 48
|
||||
icon_path = /usr/share/icons/Papirus/48x48/status/:/usr/share/icons/Papirus/48x48/devices/:/usr/share/icons/Papirus/48x48/apps/
|
||||
|
||||
# History
|
||||
|
||||
sticky_history = yes
|
||||
history_length = 20
|
||||
|
||||
# Misc
|
||||
|
||||
always_run_script = true
|
||||
corner_radius = 10
|
||||
force_xinerama = false
|
||||
mouse_left_click = do_action
|
||||
mouse_middle_click = close_all
|
||||
mouse_right_click = close_current
|
||||
|
||||
|
||||
[urgency_low]
|
||||
background="#222222"
|
||||
foreground="#ffffff"
|
||||
timeout = 3
|
||||
|
||||
[urgency_normal]
|
||||
background="#333333"
|
||||
foreground="#ffffff"
|
||||
timeout = 3
|
||||
|
||||
[urgency_critical]
|
||||
background="#222222"
|
||||
foreground="#ffffff"
|
||||
timeout = 0
|
||||
@@ -12,9 +12,9 @@ to =~/.emacs.d=).
|
||||
This file replaces itself with the actual configuration at first run.
|
||||
#+BEGIN_SRC emacs-lisp :tangle no
|
||||
(require 'org)
|
||||
(find-file (concat (getenv "HOME") "/dots/files/emacs/.emacs.d/init.org"))
|
||||
(find-file (concat (getenv "HOME") "/.dots/files/emacs/.emacs.d/init.org"))
|
||||
(org-babel-tangle)
|
||||
(load-file (concat (getenv "HOME") "/dots/files/emacs/.emacs.d/init.el"))
|
||||
(load-file (concat (getenv "HOME") "/.dots/files/emacs/.emacs.d/init.el"))
|
||||
#+END_SRC
|
||||
|
||||
It tangles the org-file, so that this file is overwritten with the actual
|
||||
@@ -53,7 +53,7 @@ the =after-save-hook= ensuring to always tangle and byte-compile the
|
||||
#+BEGIN_SRC emacs-lisp :tangle yes
|
||||
(defun tangle-init ()
|
||||
(when (equal (buffer-file-name)
|
||||
(expand-file-name (concat (getenv "HOME") "/dots/files/emacs/.emacs.d/init.org")))
|
||||
(expand-file-name (concat (getenv "HOME") "/.dots/files/emacs/.emacs.d/init.org")))
|
||||
;; Avoid running hooks when tangling.
|
||||
(let ((prog-mode-hook nil))
|
||||
(org-babel-tangle))))
|
||||
@@ -247,7 +247,7 @@ I mainly use these fonts:
|
||||
+ Noto Emoji to show emojis in emacs
|
||||
+ Noto JP for japanese characters
|
||||
#+begin_src emacs-lisp :tangle yes
|
||||
(set-face-attribute 'default nil :font "JuliaMono" :height 110)
|
||||
(set-face-attribute 'default nil :font "JuliaMono" :height 80)
|
||||
(set-fontset-font t 'unicode "Noto Color Emoji" nil 'prepend)
|
||||
(set-fontset-font t 'unicode "Noto Sans Mono CJK JP" nil 'append)
|
||||
#+end_src
|
||||
@@ -308,7 +308,7 @@ Show me both line and column counter in my bar.
|
||||
|
||||
|
||||
*** Theme
|
||||
Setting my beloved =ayu= light theme with some icons.
|
||||
Setting my beloved light theme with some icons.
|
||||
#+begin_src emacs-lisp :tangle yes
|
||||
(use-package doom-themes
|
||||
:straight (doom-themes :type git :host github :repo "hlissner/emacs-doom-themes"
|
||||
@@ -316,9 +316,8 @@ Setting my beloved =ayu= light theme with some icons.
|
||||
:config
|
||||
(setq doom-themes-enable-bold t
|
||||
doom-themes-enable-italic t
|
||||
doom-ayu-light-brighter-comments t
|
||||
doom-ayu-light-padded-modeline t)
|
||||
(load-theme 'doom-ayu-light t)
|
||||
doom-solarized-light-padded-modeline t)
|
||||
(load-theme 'doom-solarized-light t)
|
||||
(doom-themes-org-config)
|
||||
(doom-themes-treemacs-config))
|
||||
#+end_src
|
||||
@@ -331,7 +330,8 @@ Use =doom-modeline= as a bar... together with icons and nyan cat!
|
||||
:config
|
||||
(doom-modeline-mode 1)
|
||||
(setq doom-modeline-indent-info t
|
||||
doom-modeline-buffer-file-name-style 'file-name))
|
||||
doom-modeline-buffer-file-name-style 'file-name
|
||||
doom-modeline-height 10))
|
||||
|
||||
(use-package all-the-icons
|
||||
:straight t)
|
||||
@@ -341,6 +341,7 @@ Use =doom-modeline= as a bar... together with icons and nyan cat!
|
||||
:init
|
||||
(nyan-mode)
|
||||
(nyan-start-animation)
|
||||
(nyan-toggle-wavy-trail)
|
||||
:config
|
||||
(setq nyan-cat-face-number 4))
|
||||
#+end_src
|
||||
@@ -410,7 +411,7 @@ Sometimes I want to see all of my files.
|
||||
treemacs-recenter-after-tag-follow t
|
||||
treemacs-tag-follow-delay 1)
|
||||
(treemacs-follow-mode t)
|
||||
(treemacs-load-theme "Default")
|
||||
(treemacs-load-theme "doom-colors")
|
||||
(dolist (face '(treemacs-root-face
|
||||
treemacs-git-unmodified-face
|
||||
treemacs-git-modified-face
|
||||
|
||||
3
files/environment/.config/environment.d/envvars.conf
Normal file
3
files/environment/.config/environment.d/envvars.conf
Normal file
@@ -0,0 +1,3 @@
|
||||
PATH=$PATH:$HOME/.dots/scripts:$HOME/.cargo/bin:$HOME/.ghcup/bin:$HOME/.local/bin
|
||||
EDITOR=vim
|
||||
VISUAL=vim
|
||||
@@ -1,165 +0,0 @@
|
||||
set $mod Mod4
|
||||
font pango:Roboto 10
|
||||
floating_modifier $mod
|
||||
|
||||
# bindings idea: mod + KEY = open sth mod + shift = move sth mod + ctrl = manipulate display
|
||||
|
||||
# applications
|
||||
bindsym $mod+Return exec --no-startup-id alacritty
|
||||
bindsym $mod+Shift+s exec --no-startup-id flameshot gui
|
||||
bindsym XF86Calculator exec --no-startup-id emacs
|
||||
|
||||
# rofi
|
||||
bindsym $mod+d exec --no-startup-id rofi -show drun
|
||||
bindsym $mod+s exec --no-startup-id rofi -show window # 's'witch window
|
||||
bindsym $mod+a exec --no-startup-id rofi -show filebrowser
|
||||
|
||||
# audio and brightness
|
||||
bindsym XF86AudioMicMute exec --no-startup-id pactl set-source-mute @DEFAULT_SOURCE@ toggle; exec --no-startup-id notify-send -i /usr/share/icons/Papirus/48x48/devices/audio-input-microphone.svg -u critical "Audio" "Mic Mute toggled"
|
||||
bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle
|
||||
bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -5%
|
||||
bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +5%
|
||||
bindsym XF86AudioPlay exec --no-startup-id playerctl -p spotify play-pause
|
||||
bindsym XF86AudioNext exec --no-startup-id playerctl -p spotify next
|
||||
bindsym XF86AudioPrev exec --no-startup-id playerctl -p spotify previous
|
||||
bindsym XF86MonBrightnessUp exec --no-startup-id light -A 5
|
||||
bindsym XF86MonBrightnessDown exec --no-startup-id light -U 5
|
||||
|
||||
# notifications
|
||||
bindsym Ctrl+space exec --no-startup-id dunstctl close
|
||||
bindsym Ctrl+Shift+space exec --no-startup-id dunstctl history-pop
|
||||
|
||||
# kill focused window
|
||||
bindsym $mod+Shift+BackSpace kill
|
||||
|
||||
# lock etc
|
||||
bindsym $mod+Control+BackSpace exec --no-startup-id ~/dots/scripts/powermenu.sh
|
||||
|
||||
# change monitor layout
|
||||
bindsym $mod+Control+e exec --no-startup-id ~/dots/scripts/laptop/monitor.sh external
|
||||
bindsym $mod+Control+s exec --no-startup-id ~/dots/scripts/laptop/monitor.sh single
|
||||
|
||||
# change focus
|
||||
bindsym $mod+h focus left
|
||||
bindsym $mod+j focus down
|
||||
bindsym $mod+k focus up
|
||||
bindsym $mod+l focus right
|
||||
|
||||
# move focused window
|
||||
bindsym $mod+Shift+h move left
|
||||
bindsym $mod+Shift+j move down
|
||||
bindsym $mod+Shift+k move up
|
||||
bindsym $mod+Shift+l move right
|
||||
|
||||
# split in horizontal orientation
|
||||
# bindsym $mod+v split h
|
||||
|
||||
# split in vertical orientation
|
||||
# bindsym $mod+s split v
|
||||
|
||||
# enable stacked
|
||||
# bindsym $mod+a layout stacking
|
||||
|
||||
# enter fullscreen mode for the focused container
|
||||
bindsym $mod+f fullscreen toggle
|
||||
|
||||
# toggle tiling / floating
|
||||
bindsym $mod+Shift+space floating toggle
|
||||
|
||||
# workspace layout
|
||||
workspace_layout stacked
|
||||
|
||||
# workspaces
|
||||
set $ws1 "1"
|
||||
set $ws2 "2"
|
||||
set $ws3 "3"
|
||||
set $ws4 "4"
|
||||
set $ws5 "5"
|
||||
set $ws6 "6"
|
||||
set $ws7 "7"
|
||||
set $ws8 "8"
|
||||
set $ws9 "9"
|
||||
set $ws10 "10"
|
||||
|
||||
# switch to workspace
|
||||
bindsym $mod+1 workspace $ws1
|
||||
bindsym $mod+2 workspace $ws2
|
||||
bindsym $mod+3 workspace $ws3
|
||||
bindsym $mod+4 workspace $ws4
|
||||
bindsym $mod+5 workspace $ws5
|
||||
bindsym $mod+6 workspace $ws6
|
||||
bindsym $mod+7 workspace $ws7
|
||||
bindsym $mod+8 workspace $ws8
|
||||
bindsym $mod+9 workspace $ws9
|
||||
bindsym $mod+0 workspace $ws10
|
||||
|
||||
# move focused container to workspace
|
||||
bindsym $mod+Shift+1 move container to workspace $ws1
|
||||
bindsym $mod+Shift+2 move container to workspace $ws2
|
||||
bindsym $mod+Shift+3 move container to workspace $ws3
|
||||
bindsym $mod+Shift+4 move container to workspace $ws4
|
||||
bindsym $mod+Shift+5 move container to workspace $ws5
|
||||
bindsym $mod+Shift+6 move container to workspace $ws6
|
||||
bindsym $mod+Shift+7 move container to workspace $ws7
|
||||
bindsym $mod+Shift+8 move container to workspace $ws8
|
||||
bindsym $mod+Shift+9 move container to workspace $ws9
|
||||
bindsym $mod+Shift+0 move container to workspace $ws10
|
||||
|
||||
bindsym $mod+Left workspace prev
|
||||
bindsym $mod+Right workspace next
|
||||
|
||||
bindsym $mod+Ctrl+h move workspace to output left
|
||||
bindsym $mod+Ctrl+l move workspace to output right
|
||||
|
||||
# reload the configuration file
|
||||
bindsym $mod+Shift+c reload; exec --no-startup-id notify-send 'i3wm' 'Reloaded i3 configuration'
|
||||
# restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
|
||||
bindsym $mod+Shift+r restart
|
||||
|
||||
# titlebar
|
||||
title_align center
|
||||
|
||||
# colors
|
||||
set $white "#ffffff"
|
||||
set $fg "#5c6773"
|
||||
set $black "#222222"
|
||||
set $grey "#eeeeee"
|
||||
set $green "#a6cc70"
|
||||
set $red "#ff3333"
|
||||
set $blue "#55b4d4"
|
||||
set $yellow "#e7c547"
|
||||
|
||||
# class border backgr. text indicator child_border
|
||||
client.focused $black $black $white $grey $grey
|
||||
client.focused_inactive $grey $grey $fg $grey $grey
|
||||
client.unfocused $grey $grey $fg $grey $grey
|
||||
client.urgent $red $red $white $red $grey
|
||||
|
||||
# floating on start
|
||||
for_window [title="Event Tester"] floating enable
|
||||
for_window [class="flameshot"] floating enable
|
||||
|
||||
# auto assign
|
||||
for_window [class="Firefox"] move to workspace $ws2
|
||||
for_window [class="discord"] move to workspace $ws3
|
||||
for_window [class="TelegramDesktop"] move to workspace $ws3
|
||||
for_window [class="Spotify"] move to workspace $ws4
|
||||
for_window [class="Thunderbird"] move to workspace $ws9
|
||||
|
||||
# borders
|
||||
smart_borders on
|
||||
|
||||
# gaps
|
||||
gaps inner 0
|
||||
|
||||
# desktop (wallpaper, bar, ...)
|
||||
exec_always --no-startup-id ~/dots/scripts/reload_desktop.sh
|
||||
|
||||
# startup
|
||||
exec --no-startup-id nm-applet
|
||||
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 libinput-gestures-setup start
|
||||
exec --no-startup-id redshift-gtk -l 48.13333:11.56667
|
||||
@@ -1,7 +0,0 @@
|
||||
gesture: swipe left 3 xdotool key super+Left
|
||||
gesture: swipe right 3 xdotool key super+Right
|
||||
gesture: swipe up 3 xdotool key super+f
|
||||
gesture: swipe down 3 xdotool key super+f
|
||||
|
||||
gesture: swipe left 4 xdotool key alt+Left
|
||||
gesture: swipe right 4 xdotool key alt+Right
|
||||
@@ -1,204 +0,0 @@
|
||||
[colors]
|
||||
white = #ffffff
|
||||
black = #222222
|
||||
green = #a6cc70
|
||||
red = #ff3333
|
||||
yellow = #e7c547
|
||||
|
||||
[bar/bar]
|
||||
|
||||
font-0 = "Roboto:pixelsize=10:weight=bold;4"
|
||||
font-1 = "Noto Sans Mono CJK JP:pixelsize=10:weight=bold;3"
|
||||
font-2 = "FontAwesome:pixelsize=10;4"
|
||||
|
||||
monitor = ${env:MON}
|
||||
|
||||
scroll-up = i3wm-wsprev
|
||||
scroll-down = i3wm-wsnext
|
||||
|
||||
fixed-center = true
|
||||
|
||||
width = 100%
|
||||
height = 50px
|
||||
|
||||
dpi = ${xrdb:Xft.dpi:-1}
|
||||
|
||||
background = ${colors.black}
|
||||
foreground = ${colors.white}
|
||||
|
||||
bottom = false
|
||||
|
||||
screenchange-reload = true
|
||||
|
||||
tray-position = ${env:TRAYPOS:none}
|
||||
tray-scale = 1.0
|
||||
tray-maxsize = 25
|
||||
|
||||
line-size = 4
|
||||
|
||||
# keep these two the same
|
||||
padding = 3
|
||||
module-margin = 3
|
||||
|
||||
modules-left = logo i3 polywins
|
||||
modules-center =
|
||||
modules-right = spotify backlight conservation battery date
|
||||
|
||||
[module/i3]
|
||||
strip-wsnumbers = true
|
||||
pin-workspaces = true
|
||||
index-sort = true
|
||||
wrapping-scroll = false
|
||||
type = internal/i3
|
||||
format = <label-state> <label-mode>
|
||||
|
||||
ws-icon-0 = 1;一
|
||||
ws-icon-1 = 2;二
|
||||
ws-icon-2 = 3;三
|
||||
ws-icon-3 = 4;四
|
||||
ws-icon-4 = 5;五
|
||||
ws-icon-5 = 6;六
|
||||
ws-icon-6 = 7;七
|
||||
ws-icon-7 = 8;八
|
||||
ws-icon-8 = 9;九
|
||||
ws-icon-9 = 10;十
|
||||
|
||||
label-focused = %icon%
|
||||
label-focused-padding = 2
|
||||
label-focused-overline = ${colors.green}
|
||||
|
||||
label-unfocused = %icon%
|
||||
label-unfocused-padding = 2
|
||||
|
||||
label-visible = %icon%
|
||||
label-visible-padding = 2
|
||||
|
||||
label-urgent = %icon%
|
||||
label-urgent-overline = ${colors.red}
|
||||
label-urgent-padding = 2
|
||||
|
||||
[module/date]
|
||||
type = internal/date
|
||||
interval = 1.0
|
||||
date = %a, %d %b
|
||||
time = %H:%M
|
||||
label = %date% %time%
|
||||
|
||||
[module/pulseaudio]
|
||||
type = internal/pulseaudio
|
||||
sink = master
|
||||
use-ui-max = true
|
||||
interval = 5
|
||||
|
||||
format-volume = <label-volume>
|
||||
|
||||
format-muted-foreground = ${colors.red}
|
||||
label-muted = Muted
|
||||
click-right = pavucontrol
|
||||
|
||||
[module/title]
|
||||
type = internal/xwindow
|
||||
format-padding = 1
|
||||
label-maxlen = 100
|
||||
|
||||
[module/logo]
|
||||
type = custom/text
|
||||
content = "花"
|
||||
content-padding = 1
|
||||
|
||||
[module/battery]
|
||||
type = internal/battery
|
||||
battery = BAT1
|
||||
adapter = ADP1
|
||||
time-format = %H:%M
|
||||
|
||||
# charging
|
||||
format-charging = <ramp-capacity> <label-charging>
|
||||
label-charging = %percentage%%
|
||||
format-charging-foreground = ${colors.green}
|
||||
|
||||
# discharging
|
||||
format-discharging = <ramp-capacity> <label-discharging>
|
||||
label-discharging = %percentage%% - %time%
|
||||
format-discharging-foreground = ${colors.yellow}
|
||||
ramp-capacity-0 =
|
||||
ramp-capacity-1 =
|
||||
ramp-capacity-2 =
|
||||
ramp-capacity-3 =
|
||||
ramp-capacity-4 =
|
||||
|
||||
# full
|
||||
label-full = 100%
|
||||
|
||||
[module/conservation]
|
||||
type = custom/script
|
||||
exec = if [ "$(cat /sys/bus/platform/drivers/ideapad_acpi/VPC2004:00/conservation_mode)" == "1" ]; then echo "On"; else echo "Off"; fi
|
||||
click-left = alacritty --command ~/dots/scripts/laptop/conservation_mode.sh
|
||||
format = <label>
|
||||
label = %output%
|
||||
tail = true
|
||||
|
||||
[module/backlight]
|
||||
type = internal/backlight
|
||||
card = intel_backlight
|
||||
|
||||
format = <ramp> <label>
|
||||
label = %percentage%%
|
||||
|
||||
# ramp-0 =
|
||||
# ramp-1 =
|
||||
ramp-0 =
|
||||
|
||||
[module/polywins]
|
||||
type = custom/script
|
||||
exec = ~/dots/scripts/polybar/polywins.sh 2>/dev/null
|
||||
format = <label>
|
||||
label = %output%
|
||||
tail = true
|
||||
|
||||
[module/spotify]
|
||||
type = custom/script
|
||||
interval = 1
|
||||
format = <label>
|
||||
exec = python3 ~/dots/scripts/polybar/spotify.py -f '{artist}: {song}' -t 50 -q
|
||||
|
||||
click-left = playerctl -p spotify play-pause
|
||||
click-right = playerctl -p spotify next
|
||||
click-middle = playerctl -p spotify previous
|
||||
|
||||
[module/sep]
|
||||
type = custom/text
|
||||
content = ""
|
||||
|
||||
[module/temp]
|
||||
type = internal/temperature
|
||||
interval = 5
|
||||
format = <label>
|
||||
|
||||
[module/cpu_temp]
|
||||
type = internal/temperature
|
||||
interval = 5
|
||||
# 10 is inside the cpu
|
||||
thermal-zone = 10
|
||||
format = <label>
|
||||
|
||||
[module/cpu]
|
||||
type = internal/cpu
|
||||
interval = 5
|
||||
label = %percentage%%
|
||||
format = <label>
|
||||
|
||||
[module/ram]
|
||||
type = internal/memory
|
||||
interval = 5
|
||||
label = %gb_used%
|
||||
format = <label>
|
||||
|
||||
[module/mic]
|
||||
type = custom/script
|
||||
exec = if [ "$(pactl get-source-mute @DEFAULT_SOURCE@)" == "Mute: no" ]; then echo "On"; else echo "Muted"; fi
|
||||
tail = true
|
||||
interval = 1
|
||||
format = <label>
|
||||
click-left = pactl set-source-mute @DEFAULT_SOURCE@ toggle && notify-send -i /usr/share/icons/Papirus/48x48/devices/audio-input-microphone.svg -u critical "Audio" "Mic Mute toggled"
|
||||
|
||||
@@ -1,62 +0,0 @@
|
||||
configuration {
|
||||
filebrowser {
|
||||
directory: "/home/marc";
|
||||
directories-first: true;
|
||||
}
|
||||
show-icons: true;
|
||||
display-drun: "🔎 Launch";
|
||||
display-filebrowser: "💾 Files";
|
||||
display-window: "🖥️ Switch to";
|
||||
location: 0;
|
||||
terminal: "alacritty";
|
||||
sidebar-mode: false;
|
||||
window-format: " {c}";
|
||||
}
|
||||
|
||||
@theme "Arc"
|
||||
|
||||
* {
|
||||
font: "Roboto 25";
|
||||
alternate-normal-background: @background;
|
||||
width: 30%;
|
||||
height: 40%;
|
||||
}
|
||||
|
||||
element-icon { size: 2ch ; }
|
||||
|
||||
element.selected.active {
|
||||
background-color: #A6CC70;
|
||||
text-color: rgba ( 255, 255, 255, 100 % );
|
||||
}
|
||||
|
||||
element.selected.normal {
|
||||
background-color: #A6CC70;
|
||||
text-color: rgba ( 255, 255, 255, 100 % );
|
||||
}
|
||||
|
||||
inputbar {
|
||||
children: [prompt,entry];
|
||||
}
|
||||
|
||||
prompt {
|
||||
padding: 16px;
|
||||
border: 0 1px 0 0;
|
||||
}
|
||||
|
||||
textbox {
|
||||
padding: 8px 16px;
|
||||
}
|
||||
|
||||
entry {
|
||||
padding: 16px;
|
||||
}
|
||||
|
||||
listview {
|
||||
cycle: false;
|
||||
margin: 0 0 -1px 0;
|
||||
scrollbar: false;
|
||||
}
|
||||
|
||||
element {
|
||||
padding: 16px;
|
||||
}
|
||||
@@ -1,6 +0,0 @@
|
||||
window {
|
||||
width: 250;
|
||||
padding: 1%;
|
||||
location: center;
|
||||
y-offset: -2em;
|
||||
}
|
||||
@@ -1,31 +0,0 @@
|
||||
set -g default-terminal "tmux-256color"
|
||||
set -g terminal-overrides ",alacritty:RGB"
|
||||
|
||||
#some vi behaviour
|
||||
bind-key -r h select-pane -L
|
||||
bind-key -r j select-pane -D
|
||||
bind-key -r k select-pane -U
|
||||
bind-key -r l select-pane -R
|
||||
|
||||
bind-key v split-window -h
|
||||
bind-key s split-window -v
|
||||
|
||||
# in order to make escape bindings of programs in tmux work
|
||||
set -s escape-time 5
|
||||
|
||||
# enable mouse
|
||||
set-option -g mouse on
|
||||
|
||||
# start pane index at 1
|
||||
set -g base-index 1
|
||||
setw -g pane-base-index 1
|
||||
|
||||
# reload bind
|
||||
bind-key r source-file ~/.tmux.conf
|
||||
|
||||
set-window-option -g window-status-current-format "[#I:#W]"
|
||||
set-window-option -g window-status-format "#I:#W"
|
||||
set-window-option -g window-status-current-style fg="#A6CC70",bg="#fafafa",bold
|
||||
|
||||
set -g status-bg "#fafafa"
|
||||
set -g status-fg "#49535f"
|
||||
@@ -18,16 +18,15 @@ endif
|
||||
|
||||
call plug#begin()
|
||||
|
||||
Plug 'ayu-theme/ayu-vim' " color scheme
|
||||
Plug 'altercation/vim-colors-solarized' " color scheme
|
||||
Plug 'tpope/vim-sleuth' " heuristic file indendation
|
||||
Plug 'jiangmiao/auto-pairs' " pair completion
|
||||
|
||||
call plug#end()
|
||||
" ============================== Colors
|
||||
syntax on
|
||||
let ayucolor="light"
|
||||
colorscheme ayu
|
||||
set termguicolors
|
||||
set background=light
|
||||
colorscheme solarized
|
||||
hi Normal guibg=NONE ctermbg=NONE
|
||||
|
||||
" ============================== General
|
||||
|
||||
@@ -1,41 +0,0 @@
|
||||
Xft.dpi: 140
|
||||
|
||||
! Font
|
||||
XTerm.vt100.faceName: xft:JuliaMono:antialias=true
|
||||
XTerm.vt100.faceSize: 10
|
||||
|
||||
! Remove Scrollbar
|
||||
XTerm.vt100.scrollBar: false
|
||||
|
||||
! Resize Term Font
|
||||
XTerm.vt100.translations: #override \n\
|
||||
Ctrl <Key> minus: smaller-vt-font() \n\
|
||||
Ctrl <Key> plus: larger-vt-font()
|
||||
|
||||
! colors
|
||||
*background: #fafafa
|
||||
*foreground: #5c6773
|
||||
! Black + DarkGrey
|
||||
*color0: #000000
|
||||
*color8: #686868
|
||||
! DarkRed + Red
|
||||
*color1: #ff3333
|
||||
*color9: #f27983
|
||||
! DarkGreen + Green
|
||||
*color2: #a6cc70
|
||||
*color10: #bae67e
|
||||
! DarkYellow + Yellow
|
||||
*color3: #e7c547
|
||||
*color11: #ffcc66
|
||||
! DarkBlue + Blue
|
||||
*color4: #55b4d4
|
||||
*color12: #5ccfe6
|
||||
! DarkMagenta + Magenta
|
||||
*color5: #a37acc
|
||||
*color13: #d4bfff
|
||||
! DarkCyan + Cyan
|
||||
*color6: #95e6cb
|
||||
*color14: #95e6cb
|
||||
! LightGrey + White
|
||||
*color7: #c7c7c7
|
||||
*color15: #ffffff
|
||||
@@ -1,38 +0,0 @@
|
||||
# executed on login
|
||||
|
||||
# set xresources
|
||||
xrdb -merge $HOME/.Xresources
|
||||
|
||||
# map CAPS to ~
|
||||
setxkbmap eu
|
||||
setxkbmap -option caps:none
|
||||
xmodmap -e "keycode 66 = grave asciitilde"
|
||||
|
||||
# energy options
|
||||
xset s off
|
||||
xset -dpms
|
||||
xset s noblank
|
||||
|
||||
# keyboard repeat
|
||||
xset r rate 300 50
|
||||
|
||||
# no mouse accel
|
||||
xset m 1
|
||||
|
||||
# path
|
||||
export PATH=$PATH:$HOME/dots/scripts:$HOME/.cargo/bin:$HOME/.cabal/bin:$HOME/.ghcup/bin:$HOME/.local/bin
|
||||
|
||||
# editor
|
||||
export EDITOR="nvim"
|
||||
export VISIAL=${EDITOR}
|
||||
|
||||
# anthy
|
||||
export GTK_IM_MODULE='xim'
|
||||
export QT_IM_MODULE='ibus'
|
||||
export SDL_IM_MODULE='ibus'
|
||||
export XMODIFIERS='@im=ibus'
|
||||
export WINIT_UNIX_BACKEND=x11
|
||||
|
||||
# ssh agent - requires gnome keyring
|
||||
# eval $(systemctl --user show-environment | grep SSH_AUTH_SOCK)
|
||||
# export SSH_AUTH_SOCK
|
||||
@@ -23,22 +23,22 @@ GIT="%{$fg[red]%}\$vcs_info_msg_0_"
|
||||
NAME="%B%{$fg[yellow]%}%m%b "
|
||||
# fi
|
||||
|
||||
case $TERM in
|
||||
(*xterm* | rxvt | alacritty)
|
||||
case $TERM in
|
||||
(*xterm* | rxvt | alacritty)
|
||||
|
||||
# Write some info to terminal title.
|
||||
# This is seen when the shell prompts for input.
|
||||
function precmd {
|
||||
print -Pn "\e]0;%(1j,%j job%(2j|s|) - ,)%~ - $TERM\a"
|
||||
}
|
||||
# Write command and arguments to terminal title.
|
||||
# This is seen while the shell waits for a command to complete.
|
||||
function preexec {
|
||||
printf "\033]0;%s\a" "$1 - $TERM"
|
||||
}
|
||||
# Write some info to terminal title.
|
||||
# This is seen when the shell prompts for input.
|
||||
function precmd {
|
||||
print -Pn "\e]0;%(1j,%j job%(2j|s|) - ,)%~\a"
|
||||
}
|
||||
# Write command and arguments to terminal title.
|
||||
# This is seen while the shell waits for a command to complete.
|
||||
function preexec {
|
||||
printf "\033]0;%s\a" "$1"
|
||||
}
|
||||
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
esac
|
||||
|
||||
export PROMPT="${NAME}${DIR}${GIT} ${ICON}%{$reset_color%} "
|
||||
zstyle ':vcs_info:git:*' formats '|%b '
|
||||
@@ -122,10 +122,10 @@ export FZF_DEFAULT_OPTS='
|
||||
--layout=reverse
|
||||
--bind=tab:down
|
||||
--bind=btab:up
|
||||
--color=fg:#575f66,bg:#ffffff,hl:#a6cc70
|
||||
--color=fg+:#575f66,bg+:#ffffff,hl+:#a6cc70
|
||||
--color=info:#575f66,prompt:#575f66,pointer:#575f66
|
||||
--color=marker:#575f66,spinner:#575f66,header:#575f66'
|
||||
--color=fg:#657B83,bg:#FDF6E3,hl:#859900
|
||||
--color=fg+:#657B83,bg+:#FDF6E3,hl+:#859900
|
||||
--color=info:#657B83,prompt:#657B83,pointer:#657B83
|
||||
--color=marker:#657B83,spinner:#657B83,header:#657B83'
|
||||
|
||||
## fzf Bindings in zsh (C-r and C-t)
|
||||
if [[ -x $(which fzf 2> /dev/null) ]]
|
||||
|
||||
Reference in New Issue
Block a user