summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam <adam.moloney.stuck@gmail.com>2022-04-06 18:35:05 +0200
committeradamstuck <adam.moloney.stuck@gmail.com>2022-04-06 19:07:55 +0200
commitf7a1803ff25ed53ff6191871881bd9182ca54cc5 (patch)
tree7383b1750c37c04b31e3f96f056cdf85585e1c69
parentf5aa18ab2d69761999e2f1e898e52ffbfbbb5525 (diff)
switched from greenclip to clipmenu
-rw-r--r--.bash_profile2
-rw-r--r--.config/greenclip.toml11
-rw-r--r--.config/i3/config8
-rw-r--r--.config/i3/init2
4 files changed, 7 insertions, 16 deletions
diff --git a/.bash_profile b/.bash_profile
index 1bef437..ea2a3f6 100644
--- a/.bash_profile
+++ b/.bash_profile
@@ -28,5 +28,7 @@ export GNUPGHOME="$XDG_DATA_HOME"/gnupg
export _JAVA_OPTIONS=-Djava.util.prefs.userRoot="$XDG_CONFIG_HOME"/java
export SSB_HOME="$XDG_DATA_HOME"/zoom
export WGETRC="$XDG_CONFIG_HOME/wgetrc"
+export CM_LAUNCHER=rofi
+export CM_SELECTIONS=clipboard
[[ $(fgconsole 2>/dev/null) == 1 ]] && exec startx "$XDG_CONFIG_HOME/X11/xinitrc" -- vt1
diff --git a/.config/greenclip.toml b/.config/greenclip.toml
deleted file mode 100644
index be80974..0000000
--- a/.config/greenclip.toml
+++ /dev/null
@@ -1,11 +0,0 @@
-
-[greenclip]
- blacklisted_applications = []
- enable_image_support = true
- history_file = "/tmp/greenclip.history"
- image_cache_directory = "/tmp/greenclip"
- max_history_length = 10
- max_selection_size_bytes = 0
- static_history = []
- trim_space_from_selection = true
- use_primary_selection_as_input = false
diff --git a/.config/i3/config b/.config/i3/config
index 6a89aa2..4f95632 100644
--- a/.config/i3/config
+++ b/.config/i3/config
@@ -6,8 +6,10 @@ floating_modifier $mod
bindsym $mod+Shift+c reload
bindsym $mod+Shift+r restart
-bindsym $mod+Shift+e exec --no-startup-id "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+Shift+q kill
+bindsym $mod+Shift+e exec --no-startup-id "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+Shift+p exec --no-startup-id rofi -show p -modi "p:rofi-power-menu --choices=shutdown/reboot/suspend/logout --confirm="
+
bindsym $mod+Escape exec --no-startup-id systemctl suspend
bindsym $mod+Return exec alacritty
bindsym $mod+b exec firefox
@@ -16,11 +18,9 @@ bindsym $mod+f fullscreen toggle
bindsym $mod+i exec --no-startup-id polybar-msg cmd toggle
bindsym $mod+Shift+s exec --no-startup-id ~/.config/i3/extra/screenshot
-# Rofi
bindsym $mod+d exec --no-startup-id rofi -show drun -show-icons -drun-display-format {name}
bindsym $alt+Tab exec --no-startup-id rofi -show window -show-icons -drun-display-format {name}
-bindsym $alt+b exec --no-startup-id rofi -modi "clipboard:greenclip print" -show clipboard -run-command '{cmd}' -show-icons
-bindsym $mod+Shift+p exec --no-startup-id rofi -show p -modi "p:rofi-power-menu --choices=shutdown/reboot/suspend/logout --confirm="
+bindsym $alt+b exec --no-startup-id clipmenu -p clipmenu
bindsym $mod+p exec --no-startup-id rofi-pass
bindsym XF86AudioRaiseVolume exec --no-startup-id pamixer -i 5
diff --git a/.config/i3/init b/.config/i3/init
index 08b6af3..1cb187c 100644
--- a/.config/i3/init
+++ b/.config/i3/init
@@ -1,6 +1,6 @@
#!/bin/sh
-greenclip daemon &
+clipmenud &
playerctld daemon &
nitrogen --restore
redshift -l 56:10 &