Screenmenu changes
This commit is contained in:
parent
06316d7a65
commit
9520019bef
|
@ -6,7 +6,7 @@ clear-shadow = true;
|
|||
shadow-radius = 7;
|
||||
shadow-offset-x = -7;
|
||||
shadow-offset-y = -7;
|
||||
# shadow-opacity = 0.7;
|
||||
shadow-opacity = 0.7;
|
||||
shadow-red = 0.3;
|
||||
shadow-green = 0.0;
|
||||
shadow-blue = 0.1;
|
||||
|
@ -25,10 +25,10 @@ shadow-exclude = [
|
|||
# xinerama-shadow-crop = true;
|
||||
|
||||
# Opacity
|
||||
menu-opacity = 0.8;
|
||||
# inactive-opacity = 0.8;
|
||||
# active-opacity = 1;
|
||||
frame-opacity = 0.7;
|
||||
menu-opacity = 1;
|
||||
inactive-opacity = 0.8;
|
||||
active-opacity = 1;
|
||||
frame-opacity = 1;
|
||||
inactive-opacity-override = false;
|
||||
alpha-step = 0.06;
|
||||
# inactive-dim = 0.2;
|
|
@ -0,0 +1,89 @@
|
|||
# Shadow
|
||||
shadow = true;
|
||||
no-dnd-shadow = true;
|
||||
no-dock-shadow = true;
|
||||
clear-shadow = true;
|
||||
shadow-radius = 7;
|
||||
shadow-offset-x = -7;
|
||||
shadow-offset-y = -7;
|
||||
# shadow-opacity = 0.7;
|
||||
# shadow-red = 0.0;
|
||||
# shadow-green = 0.0;
|
||||
# shadow-blue = 0.0;
|
||||
shadow-exclude = [
|
||||
"name = 'Notification'",
|
||||
"class_g = 'Conky'",
|
||||
"class_g ?= 'Notify-osd'",
|
||||
"class_g = 'Cairo-clock'",
|
||||
"_GTK_FRAME_EXTENTS@:c"
|
||||
];
|
||||
# shadow-exclude = "n:e:Notification";
|
||||
# shadow-exclude-reg = "x10+0+0";
|
||||
# xinerama-shadow-crop = true;
|
||||
|
||||
# Opacity
|
||||
menu-opacity = 0.8;
|
||||
inactive-opacity = 0.8;
|
||||
# active-opacity = 0.8;
|
||||
frame-opacity = 0.7;
|
||||
inactive-opacity-override = false;
|
||||
alpha-step = 0.06;
|
||||
# inactive-dim = 0.2;
|
||||
# inactive-dim-fixed = true;
|
||||
# blur-background = true;
|
||||
# blur-background-frame = true;
|
||||
blur-kern = "3x3box";
|
||||
# blur-kern = "5,5,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1";
|
||||
# blur-background-fixed = true;
|
||||
blur-background-exclude = [
|
||||
"window_type = 'dock'",
|
||||
"window_type = 'desktop'",
|
||||
"_GTK_FRAME_EXTENTS@:c"
|
||||
];
|
||||
# opacity-rule = [ "80:class_g = 'URxvt'" ];
|
||||
|
||||
# Fading
|
||||
fading = true;
|
||||
# fade-delta = 30;
|
||||
fade-in-step = 0.03;
|
||||
fade-out-step = 0.03;
|
||||
# no-fading-openclose = true;
|
||||
# no-fading-destroyed-argb = true;
|
||||
fade-exclude = [ ];
|
||||
|
||||
# Other
|
||||
backend = "xrender";
|
||||
mark-wmwin-focused = true;
|
||||
mark-ovredir-focused = true;
|
||||
# use-ewmh-active-win = true;
|
||||
detect-rounded-corners = true;
|
||||
detect-client-opacity = true;
|
||||
refresh-rate = 0;
|
||||
vsync = "none";
|
||||
dbe = false;
|
||||
paint-on-overlay = true;
|
||||
# sw-opti = true;
|
||||
# unredir-if-possible = true;
|
||||
# unredir-if-possible-delay = 5000;
|
||||
# unredir-if-possible-exclude = [ ];
|
||||
focus-exclude = [ "class_g = 'Cairo-clock'" ];
|
||||
detect-transient = true;
|
||||
detect-client-leader = true;
|
||||
invert-color-include = [ ];
|
||||
# resize-damage = 1;
|
||||
|
||||
# GLX backend
|
||||
# glx-no-stencil = true;
|
||||
glx-copy-from-front = false;
|
||||
# glx-use-copysubbuffermesa = true;
|
||||
# glx-no-rebind-pixmap = true;
|
||||
glx-swap-method = "undefined";
|
||||
# glx-use-gpushader4 = true;
|
||||
# xrender-sync = true;
|
||||
# xrender-sync-fence = true;
|
||||
|
||||
# Window type settings
|
||||
wintypes:
|
||||
{
|
||||
tooltip = { fade = true; shadow = true; opacity = 0.75; focus = true; };
|
||||
};
|
|
@ -25,6 +25,7 @@ exec_always "xinput set-prop 'ELAN07A4:00 04F3:3244 Touchpad' 'libinput Tapping
|
|||
|
||||
bindsym $mod+p exec "bash /home/lorenz/.config/i3/rofi/screenmenu.sh"
|
||||
bindsym $mod+i exec "gnome-control-center"
|
||||
bindsym $mod+q exec "nautilus"
|
||||
# Font for window titles. Will also be used by the bar unless a different font
|
||||
# is used in the bar {} block below.
|
||||
font pango:UbuntuMonoNerdFont-Regular 10
|
||||
|
@ -73,7 +74,8 @@ bindsym $mod+Shift+q kill
|
|||
|
||||
# start dmenu (a program launcher)
|
||||
bindsym $mod+d exec "rofi -modi drun,run -show drun"
|
||||
bindsym $mod+m exec "rofi -modi emoji -show emoji"
|
||||
bindsym $mod+m exec "rofimoji -a type"
|
||||
bindsym $mod+t exec "rofi -show calc -modi calc -no-show-match -no-sort"
|
||||
# A more modern dmenu replacement is rofi:
|
||||
# bindcode $mod+40 exec "rofi -modi drun,run -show drun"
|
||||
# There also is i3-dmenu-desktop which only displays applications shipping a
|
||||
|
@ -178,8 +180,8 @@ bindsym $mod+Shift+r restart
|
|||
bindsym $mod+Shift+d --release exec --no-startup-id "killall dunst && dunstify -u low foo && dunstify foo && dunstify -u critical foo"
|
||||
# exit i3 (logs you out of your X session)
|
||||
bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -B 'Yes, exit i3' 'i3-msg exit'"
|
||||
bindsym $mod+$alt+l exec bash /home/lorenz/.config/i3/lockscreen.sh
|
||||
bindsym $mod+$alt+k exec bash /home/lorenz/.config/i3/rofi/sleepmenu.sh
|
||||
bindsym $mod+$alt+l exec bash ~/.config/i3/lockscreen.sh
|
||||
bindsym $mod+$alt+k exec bash ~/.config/i3/lockscreen.sh && systemctl suspend'
|
||||
|
||||
# resize window (you can also use the mouse for that)
|
||||
mode "resize" {
|
||||
|
@ -213,7 +215,7 @@ bindsym $mod+r mode "resize"
|
|||
exec_always "bash $HOME/.config/polybar/launch.sh"
|
||||
|
||||
#colors: border backgr. text indicator
|
||||
client.focused #650C3A #460728 #ffffff #2b2b2b
|
||||
client.focused #C90E6F #C90E6F #ffffff #2b2b2b
|
||||
client.focused_inactive #4D4D4D #2b2b2b #ffffff #2b2b2b
|
||||
client.unfocused #4D4D4D #2b2b2b #ffffff #2b2b2b
|
||||
client.urgent #900000 #900000 #ffffff #2b2b2b
|
||||
|
@ -221,7 +223,7 @@ client.urgent #900000 #900000 #ffffff #2b2b2b
|
|||
client.background #333333
|
||||
|
||||
exec_always nitrogen --restore
|
||||
exec_always compton
|
||||
#exec_always compton
|
||||
exec_always copyq
|
||||
exec_always --no-startup-id dunst
|
||||
bindsym $mod+v exec copyq toggle
|
||||
|
@ -230,6 +232,9 @@ bindsym $mod+c exec "flatpak run com.github.rajsolai.textsnatcher"
|
|||
gaps inner 15
|
||||
gaps outer 5
|
||||
|
||||
# You can also use any non-zero value if you'd like to have a border
|
||||
default_border pixel 0
|
||||
|
||||
set $mode_gaps Gaps: (o)uter, (i)nner, (h)orizontal, (v)ertical, (t)op, (r)ight, (b)ottom, (l)eft
|
||||
set $mode_gaps_outer Outer Gaps: +|-|0 (local), Shift + +|-|0 (global)
|
||||
set $mode_gaps_inner Inner Gaps: +|-|0 (local), Shift + +|-|0 (global)
|
||||
|
|
|
@ -1,11 +1,5 @@
|
|||
#! /bin/sh
|
||||
|
||||
chosen=$(printf "Only Extended\nAll\nOnly Laptop" | rofi -dmenu -i)
|
||||
|
||||
case "$chosen" in
|
||||
"Only Extended") xrandr --output eDP-1 --off --output DP-1 --right-of HDMI-1 && i3-msg reload ;;
|
||||
"All") xrandr --auto && xrandr --output eDP-1 --left-of HDMI-1 --output DP-1 --right-of HDMI-1 && i3-msg reload ;;
|
||||
"Only Laptop") xrandr --output eDP-1 -output DP-1 --off --right-of HDMI-1 --off --auto && i3-msg reload ;;
|
||||
*) exit 1;;
|
||||
esac
|
||||
chosen=$(ls -1 ~/.screenlayout | rofi -dmenu -i)
|
||||
|
||||
bash ~/.screenlayout/${chosen} && i3-msg reload
|
||||
|
|
|
@ -1,13 +0,0 @@
|
|||
#! /bin/sh
|
||||
|
||||
LOCK='/home/lorenz/.config/i3/lockscreen.sh'
|
||||
chosen=$(printf "suspend\nhibernate\nhybrid-sleep\nsuspend-then-hibernate" | rofi -dmenu -i)
|
||||
|
||||
case "$chosen" in
|
||||
"suspend") bash $LOCK && systemctl suspend ;;
|
||||
"hibernate") bash $LOCK && systemctl hibernate ;;
|
||||
"hybrid-sleep") bash $LOCK && systemctl hybrid-sleep ;;
|
||||
"suspend-then-hibernate") bash $LOCK && systemctl suspend-then-hibernate ;;
|
||||
*) exit 1;;
|
||||
esac
|
||||
|
Binary file not shown.
After Width: | Height: | Size: 7.1 KiB |
|
@ -1,5 +1,8 @@
|
|||
# vim:fileencoding=utf-8:ft=conf:foldmethod=marker
|
||||
|
||||
launch cli-shapes draw --png /home/lorenz/.config/kitty/gem.png
|
||||
launch echo "hello"
|
||||
|
||||
#: Fonts {{{
|
||||
|
||||
#: kitty has very powerful font management. You can configure
|
||||
|
|
|
@ -65,5 +65,8 @@ run '~/.tmux/plugins/tpm/tpm'
|
|||
bind '"' split-window -v -c "#{pane_current_path}"
|
||||
bind % split-window -h -c "#{pane_current_path}"
|
||||
|
||||
bind-key -r i run-shell "tmux neww ~/dotfiles/cht.sh"
|
||||
bind-key -r e run-shell "tmux neww nautilus --browser #{pane_current_path}"
|
||||
|
||||
#Info
|
||||
run-shell 'echo reloaded .tmux.conf ...'
|
||||
|
|
5
.zshrc
5
.zshrc
|
@ -101,7 +101,10 @@ source $ZSH/oh-my-zsh.sh
|
|||
# alias ohmyzsh="mate ~/.oh-my-zsh"
|
||||
#
|
||||
|
||||
export PATH=$PATH:"$HOME/go/bin:$HOME/.local/bin:$HOME/scripts"
|
||||
export PATH=$PATH:"$GOPATH/bin:$HOME/scripts"
|
||||
export GOPATH=$HOME/go
|
||||
|
||||
export XDG_CONFIG_HOME="$HOME/.config"
|
||||
|
||||
export NVM_DIR="$HOME/.nvm"
|
||||
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
|
||||
|
|
|
@ -0,0 +1,13 @@
|
|||
#!/usr/bin/bash
|
||||
|
||||
languages=`echo "golang lua java bash" | tr ' ' '\n'`
|
||||
core_utils=`echo "docker docker-compose find mv sed awk" | tr ' ' '\n'`
|
||||
|
||||
selected=`printf "$languages\n$core_utils" | fzf`
|
||||
read -p "query: " query
|
||||
|
||||
if printf $languages | grep -qs $selected; then
|
||||
tmux neww bash -c "curl cht.sh/$selected/`echo $query | tr ' ' '+'` & while [ : ]; do sleep 1;done"
|
||||
else
|
||||
tmux neww bash -c "curl cht.sh/$selected~$query & while [ : ]; do sleep 1;done"
|
||||
fi
|
Loading…
Reference in New Issue