diff --git a/simpleDots/bin/fzpass b/simpleDots/bin/fzpass index a0a9421..d5ea74b 100755 --- a/simpleDots/bin/fzpass +++ b/simpleDots/bin/fzpass @@ -43,7 +43,13 @@ C-u: Update (pull, push); C-r: Remove' ## Exit if nothing was selected test "_$password" = "_" && exit + +## Disable clipman +command -v clipctl >/dev/null && clipctl disable + ## Copy pass and show otp, exit silently if anything fails pass show -c "$password" 2>/dev/null || exit 0 pass otp "$password" 2>/dev/null || exit 0 +## Re-Enable clipman +command -v clipctl >/dev/null && clipctl enable diff --git a/simpleDots/exports b/simpleDots/exports index 0c4721e..933e91f 100644 --- a/simpleDots/exports +++ b/simpleDots/exports @@ -43,6 +43,8 @@ export DBUS_SESSION_BUS_ADDRESS=unix:path=/var/run/user/$(id -u)/bus; export TODOTXT_DEFAULT_ACTION=ls +export CM_LAUNCHER=rofi + # hidpi for gtk apps #export GDK_SCALE=2 #export GDK_DPI_SCALE=0.5 diff --git a/simpleDots/i3/config b/simpleDots/i3/config index eabc337..e628330 100644 --- a/simpleDots/i3/config +++ b/simpleDots/i3/config @@ -50,7 +50,12 @@ bindsym $mod+Shift+c kill # There also is the (new) i3-dmenu-desktop which only displays applications # shipping a .desktop file. It is a wrapper around dmenu, so you need that # installed. -bindsym $mod+d exec --no-startup-id "i3-dmenu-desktop -dmenu='dmenu -i -fn B612' --entry-type name" +#bindsym $mod+d exec --no-startup-id "i3-dmenu-desktop -dmenu='dmenu -i -fn B612' --entry-type name" +bindsym $mod+d exec --no-startup-id "rofi -show drun" + +# Show window Switcher +bindsym $mod+Tab exec --no-startup-id "rofi -show window" + # Local Hotkeys bindsym $mod+x exec --no-startup-id "test -x ~/.local/bin/lhotkey-x && ~/.local/bin/lhotkey-x" @@ -96,19 +101,15 @@ bindsym $mod+Shift+Right move right bindsym $mod+$alt+Left move workspace to output left bindsym $mod+$alt+Right move workspace to output right -# split in horizontal orientation -bindsym $mod+h split h - -# split in vertical orientation -bindsym $mod+v split v - # enter fullscreen mode for the focused container bindsym $mod+f fullscreen toggle # change container layout (stacked, tabbed, toggle split) -bindsym $mod+s layout stacking -bindsym $mod+w layout tabbed -bindsym $mod+e layout toggle split +bindsym $mod+$alt+e layout toggle split +bindsym $mod+$alt+s layout stacking +bindsym $mod+$alt+w layout tabbed +bindsym $mod+$alt+v split v +bindsym $mod+$alt+h split h # toggle tiling / floating bindsym $mod+Shift+space floating toggle @@ -198,7 +199,7 @@ bar { position top } -# Pulse Audio controls +# PW Audio controls bindsym XF86AudioRaiseVolume exec --no-startup-id "wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+" bindsym XF86AudioLowerVolume exec --no-startup-id "wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-" bindsym XF86AudioMute exec --no-startup-id "wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle" @@ -251,16 +252,15 @@ bindsym $mod+m exec ~/.bin/dmenu_dir2menu.sh ~/.screenlayout/ bindsym $mod+i exec --no-startup-id notify-send "Public IPv4 address" "$(curl --silent https://v4.ident.me)" bindsym $mod+Shift+i exec --no-startup-id "~/.bin/reconnectfritzbox.sh" -# Get current uptime -bindsym $mod+u exec --no-startup-id notify-send "Uptime" "$(uptime --pretty)" -bindsym $mod+Shift+u exec --no-startup-id test -x ~/.local/bin/mod-u && ~/.local/bin/mod-u - -# Clipboard to QR +# Clipboard bindsym $mod+q exec --no-startup-id "~/.bin/xcqr" +bindsym $mod+v exec --no-startup-id "clipmenu" + +# Autostart exec --no-startup-id "blueman-applet" exec --no-startup-id "nm-applet" -exec --no-startup-id "parcellite" +exec --no-startup-id "clipmenud" exec --no-startup-id "dunst -config ~/.i3/dunstrc" exec --no-startup-id test -x ~/.local/bin/i3autostart.sh && ~/.local/bin/i3autostart.sh exec --no-startup-id gsettings set org.gtk.Settings.FileChooser sort-directories-first true diff --git a/sysconfig_arch/workstation.yaml b/sysconfig_arch/workstation.yaml index 259517c..7aecfed 100644 --- a/sysconfig_arch/workstation.yaml +++ b/sysconfig_arch/workstation.yaml @@ -19,6 +19,7 @@ - blueman - bluez-utils - btrfs-progs + - clipmenu - coreutils - cryptsetup - curl @@ -70,11 +71,11 @@ - nmon - nomacs - p7zip - - parcellite - pcmanfm-gtk3 - perl - perl-date-manip - perl-finance-quote + - rofi - qrencode - screenfetch - scrot