aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVidhu Kant Sharma <vidhukant@vidhukant.com>2023-10-29 16:30:28 +0530
committerVidhu Kant Sharma <vidhukant@vidhukant.com>2023-10-29 16:30:28 +0530
commit00aca0696d5c8ec212842c811bc4a6338a942804 (patch)
treeb7180ea348d662a476524ceb5efd3aa09a82b0e1
parentd6d036d34b395d45211668d3a54a57b32cac4cbe (diff)
added more useful keybinds
-rw-r--r--.config/XMonad/lib/Defaults.hs4
-rw-r--r--.config/XMonad/lib/Keybindings.hs8
-rw-r--r--.doom.d/custom.el2
-rwxr-xr-x.xprofile4
4 files changed, 11 insertions, 7 deletions
diff --git a/.config/XMonad/lib/Defaults.hs b/.config/XMonad/lib/Defaults.hs
index 5f855d0..c36cf6d 100644
--- a/.config/XMonad/lib/Defaults.hs
+++ b/.config/XMonad/lib/Defaults.hs
@@ -42,7 +42,6 @@ backlightUp = "brightnessctl s +5"
backlightDown = "brightnessctl s 5-"
wifiOn = "nmcli radio wifi on"
-wifiOff :: String
wifiOff = "nmcli radio wifi off"
screenshot = "flameshot screen"
@@ -62,6 +61,9 @@ myFileManager' = "lf"
myTextEditor = "doom run"
myTextEditor' = "nvim"
+myEmailClient = "thunderbird"
+myPasswordManager = "keepassxc"
+
-- workspaces
myExtraWorkspaces = [(xK_0, "十")]
myWorkspaces = ["一", "二", "三", "四", "五", "六", "七", "八", "九"] ++ map snd myExtraWorkspaces
diff --git a/.config/XMonad/lib/Keybindings.hs b/.config/XMonad/lib/Keybindings.hs
index ee91379..6e16414 100644
--- a/.config/XMonad/lib/Keybindings.hs
+++ b/.config/XMonad/lib/Keybindings.hs
@@ -191,6 +191,7 @@ myKeybindingsP = [
, ("M-b d", myScratchpad "arandr")
, ("M-b c", myScratchpad "calc")
, ("M-b b", myScratchpad "blueman")
+ , ("M-S-b", myScratchpad "blueman")
, ("M-b p", myScratchpad "pavucontrol")
, ("M-x", myScratchpad "pavucontrol")
, ("M-b m", myScratchpad "BPYTOP")
@@ -208,12 +209,11 @@ myKeybindingsP = [
, ("M-n v", spawn $ myBrowser ++ " https://vidhukant.xyz")
, ("M-n m", spawn $ myBrowser ++ " https://myanimelist.net/profile/0ZeroTsu")
-- other apps
- -- TODO: add scrcpy
, ("M-y e", spawn myTextEditor)
, ("M-d", spawn myTextEditor)
, ("M-S-d", spawn "firejail discord")
- , ("M-y S-e", spawn "thunderbird")
- , ("M-t", spawn "thunderbird")
+ , ("M-y S-e", spawn myEmailClient)
+ , ("M-t", spawn myEmailClient)
, ("M-y t", spawn myTorrentClient)
, ("M-S-t", spawn myTorrentClient)
, ("M-y S-t", spawn "torbrowser-launcher")
@@ -224,6 +224,8 @@ myKeybindingsP = [
, ("M-v", spawn "virt-manager")
, ("M-y b", spawn "brave")
, ("M-y p", spawn myFileManager)
+ , ("M-s", spawn myFileManager)
+ , ("M-z", spawn myPasswordManager)
, ("M-y S-p", spawn $ myTerminal' ++ " -e " ++ myFileManager')
-- XMonad
, ("M-q q", gridselectWindow myGridSelect >>= flip whenJust (\w -> killWindow w))
diff --git a/.doom.d/custom.el b/.doom.d/custom.el
index 7f572db..ff6a149 100644
--- a/.doom.d/custom.el
+++ b/.doom.d/custom.el
@@ -28,7 +28,7 @@
'(line-number-current-line :slant normal))
; window transparency
-(add-to-list 'default-frame-alist '(alpha . 70))
+(add-to-list 'default-frame-alist '(alpha . 80))
;; dashboard config
diff --git a/.xprofile b/.xprofile
index 3a137fe..ee65b9e 100755
--- a/.xprofile
+++ b/.xprofile
@@ -21,8 +21,8 @@ if [[ "$DESKTOP_SESSION" = "xmonad" || "$DESKTOP_SESSION" = "dwm" ]]; then
# autostart apps
nitrogen --restore &
picom &
- #dunst &
- #udiskie &
+ dunst &
+ udiskie &
# glava -dm radial &
fi