diff options
Diffstat (limited to '.config')
-rw-r--r-- | .config/i3/config | 27 | ||||
-rw-r--r-- | .config/picom/picom.conf | 20 | ||||
-rw-r--r-- | .config/rofi/config.rasi | 14 | ||||
-rw-r--r-- | .config/rofi/custom.rasi | 148 | ||||
-rw-r--r-- | .config/sakura/sakura.conf | 2 |
5 files changed, 190 insertions, 21 deletions
diff --git a/.config/i3/config b/.config/i3/config index 0430f66..8f425e1 100644 --- a/.config/i3/config +++ b/.config/i3/config @@ -41,7 +41,6 @@ bindsym $mod+Shift+b exec sudo systemctl stop bluetoth.service # Use Mouse+$mod to drag floating windows to their wanted position floating_modifier $mod -# start a terminal # bindsym $mod+Return exec i3-sensible-terminal #save the defaults just in case bindsym $mod+Return exec $terminal @@ -50,7 +49,7 @@ bindsym $mod+Return exec $terminal bindsym $mod+Shift+w kill # run actual launcher -bindsym $mod+d exec "rofi -modi drun,run -show drun" +bindsym $mod+d exec "rofi -show combi" # backup launcher bindsym $mod+Shift+d exec --no-startup-id dmenu_run @@ -65,17 +64,17 @@ bindsym $mod+l focus down bindsym $mod+semicolon focus right #screenshots -# OLD SETTINGS +# --- OLD SETTINGS --- # bindsym Print exec coreshot -f # bindsym $mod+Print exec coreshot -s # bindsym $mod+Shift+Print exec coreshot -w - +# --- NEW SETTINGS --- set $maim maim --tolerance=1 --quiet -#--color="56,200,200,69" set $maim_paste tee ~/Screenshots/screenshot-$(date +"%Y-%m-%dT%H:%M:%S").png | xclip -selection clipboard -t image/png bindsym Print exec $maim | $maim_paste bindsym $mod+Print exec $maim -s | $maim_paste bindsym $mod+Shift+Print exec $maim -i $(xdotool getactivewindow) | $maim_paste +# --- END SETTINGS --- # alternatively, you can use the cursor keys: bindsym $mod+Left focus left @@ -282,19 +281,19 @@ exec_always ~/.screenlayout/doublemonitor.layout.sh # only needed for my laptop # exec_always kboff # switch keyboard colors -exec openrgb --color "00FFFF" +# I got tired of this color +# exec openrgb --color "00FFFF" exec $terminal exec $terminal -e bashtop exec firefox -#exec telegram-desktop -#exec discord -#exec qtcreator -#exec doublecmd - -# author: li0n (kongshushiwo)` -# source1 (weibo): https://www.weibo.com/6593199887/L3yxyEJ1T -# source2 (gelbooru): https://gelbooru.com/index.php?page=post&s=view&id=7506062 +exec telegram-desktop +exec discord + +# WALLPAPER +# * author: li0n (kongshushiwo)` +# * source1 (weibo): https://www.weibo.com/6593199887/L3yxyEJ1T +# * source2 (gelbooru): https://gelbooru.com/index.php?page=post&s=view&id=7506062 exec_always feh --bg-fill ~/wallpaper/yae_beautiful_1.jpg exec_always setxkbmap -layout us,ru -option grp:alt_shift_toggle exec_always ~/.screenlayout/fullscreen.sh diff --git a/.config/picom/picom.conf b/.config/picom/picom.conf index b8d275b..a905519 100644 --- a/.config/picom/picom.conf +++ b/.config/picom/picom.conf @@ -12,9 +12,17 @@ rounded-corners-exclude = [ "class_g = 'i3bar'", ]; opacity-rule = [ - "100:name *= 'YouTube'", - "100:name *= 'ヰカちゃん♡♡'", - "90:class_g = 'telegram-desktop'", + "100: name *= 'YouTube'", + "100: name ~= 'ヰカちゃん♡♡~ – \\\\([0-9]+\\\\)'", // my girlfriend is more important than my rice + + // rules for calls break the media viewing so this is a workaround + "99: class_g *= 'Telegram' && name = 'Media viewer' && focused", + "88: class_g *= 'Telegram' && name = 'Media viewer' && !focused", + "37: class_g *= 'Telegram' && !name ~= '([0-9]+)'", // for calls + + // "75: class_g = 'Sakura' && name *= 'BashTOP'", // commented out for better times + "84: class_g = 'Sakura' && focused", + "63: class_g = 'Sakura'", ]; blur = { method = "gaussian"; @@ -25,10 +33,10 @@ blur-background-exclude = [ "class_g = 'slop'", ]; wintypes = { - toolbar = { fade = false }; + toolbar = { fade = false, blur = false }; menu = { fade = false }; - dropdiwn_menu = { fade = false }; - popup_menu = { fade = false }; + dropdown_menu = { fade = false, blur = false }; + popup_menu = { fade = false, blur = false }; utility = { fade = false }; dock = { fade = false }; dnd = { fade = false }; diff --git a/.config/rofi/config.rasi b/.config/rofi/config.rasi new file mode 100644 index 0000000..fcceafe --- /dev/null +++ b/.config/rofi/config.rasi @@ -0,0 +1,14 @@ +configuration { + show-icons: true; + terminal: "sakura"; + + modi: "combi,drun,window,ssh"; + combi-modes: "window,drun"; + combi-display-format: "{text}"; + + kb-mode-next: "Alt+Tab"; + kb-mode-previous: "Alt+Shift+Tab"; +} + +@theme "custom" + diff --git a/.config/rofi/custom.rasi b/.config/rofi/custom.rasi new file mode 100644 index 0000000..3fd1fd1 --- /dev/null +++ b/.config/rofi/custom.rasi @@ -0,0 +1,148 @@ +// This file was copird from official rofi theme (DarkBlue) and I basically changed 2 colors + +/** + * ROFI Color theme + * User: Qball + * Copyright: Dave Davenport + */ + +* { + selected-normal-foreground: rgba ( 2, 20, 63, 100 % ); + foreground: rgba ( 219, 223, 188, 100 % ); + normal-foreground: @foreground; + alternate-normal-background: rgba ( 0, 0, 0, 0 % ); + red: rgba ( 220, 50, 47, 100 % ); + selected-urgent-foreground: rgba ( 2, 20, 63, 100 % ); + blue: rgba ( 38, 139, 210, 100 % ); + urgent-foreground: rgba ( 255, 129, 255, 100 % ); + alternate-urgent-background: rgba ( 0, 0, 0, 0 % ); + active-foreground: rgba ( 255, 112, 255, 75 % ); + lightbg: rgba ( 238, 232, 213, 100 % ); + selected-active-foreground: rgba ( 2, 20, 63, 100 % ); + alternate-active-background: rgba ( 0, 0, 0, 0 % ); + background: rgba ( 0, 0, 0, 50 % ); + bordercolor: rgba ( 219, 223, 188, 100 % ); + alternate-normal-foreground: @foreground; + normal-background: rgba ( 0, 0, 208, 0 % ); + lightfg: rgba ( 88, 104, 117, 100 % ); + selected-normal-background: rgba ( 219, 223, 188, 100 % ); + border-color: @foreground; + spacing: 2; + separatorcolor: rgba ( 219, 223, 188, 100 % ); + urgent-background: rgba ( 0, 0, 208, 0 % ); + selected-urgent-background: rgba ( 255, 129, 127, 100 % ); + alternate-urgent-foreground: @urgent-foreground; + background-color: rgba ( 0, 0, 0, 0 % ); + alternate-active-foreground: @active-foreground; + active-background: rgba ( 0, 0, 208, 0 % ); + selected-active-background: rgba ( 138, 196, 255, 100 % ); +} +window { + background-color: @background; + border: 1; + padding: 5; +} +mainbox { + border: 0; + padding: 0; +} +message { + border: 2px 0px 0px ; + border-color: @separatorcolor; + padding: 1px ; +} +textbox { + text-color: @foreground; +} +listview { + fixed-height: 0; + border: 2px 0px 0px ; + border-color: @separatorcolor; + spacing: 2px ; + scrollbar: true; + padding: 2px 0px 0px ; +} +element { + border: 0; + padding: 1px ; +} +element-text { + background-color: inherit; + text-color: inherit; +} +element.normal.normal { + background-color: @normal-background; + text-color: @normal-foreground; +} +element.normal.urgent { + background-color: @urgent-background; + text-color: @urgent-foreground; +} +element.normal.active { + background-color: @active-background; + text-color: @active-foreground; +} +element.selected.normal { + background-color: @selected-normal-background; + text-color: @selected-normal-foreground; +} +element.selected.urgent { + background-color: @selected-urgent-background; + text-color: @selected-urgent-foreground; +} +element.selected.active { + background-color: @selected-active-background; + text-color: @selected-active-foreground; +} +element.alternate.normal { + background-color: @alternate-normal-background; + text-color: @alternate-normal-foreground; +} +element.alternate.urgent { + background-color: @alternate-urgent-background; + text-color: @alternate-urgent-foreground; +} +element.alternate.active { + background-color: @alternate-active-background; + text-color: @alternate-active-foreground; +} +scrollbar { + width: 4px ; + border: 0; + handle-width: 8px ; + padding: 0; +} +mode-switcher { + border: 2px 0px 0px ; + border-color: @separatorcolor; +} +button.selected { + background-color: @selected-normal-background; + text-color: @selected-normal-foreground; +} +inputbar { + spacing: 0; + text-color: @normal-foreground; + padding: 1px ; +} +case-indicator { + spacing: 0; + text-color: @normal-foreground; +} +entry { + spacing: 0; + text-color: @normal-foreground; +} +prompt, button{ + spacing: 0; + text-color: @normal-foreground; +} +inputbar { + children: [ prompt,textbox-prompt-colon,entry,case-indicator ]; +} +textbox-prompt-colon { + expand: false; + str: ":"; + margin: 0px 0.3em 0em 0em ; + text-color: @normal-foreground; +} diff --git a/.config/sakura/sakura.conf b/.config/sakura/sakura.conf index 0bdf054..193ed18 100644 --- a/.config/sakura/sakura.conf +++ b/.config/sakura/sakura.conf @@ -1,6 +1,6 @@ [sakura] colorset1_fore=rgb(255,255,255) -colorset1_back=rgba(41,41,41,0.95) +colorset1_back=rgb(41,41,41) colorset1_curs=rgb(143,240,164) colorset1_scheme=0 colorset1_key=F1 |